SyncConfig constructor Null safety
- {required String syncEndPoint,
- String? dbName,
- List<
Migration> migrations = const [], - Map<
Type, SqliteAdapter< sqliteMappings = const {},SqliteModel> > - Map<
Type, RestAdapter< restMappings = const {},RestModel> > - DatabaseFactory? dbFactory}
Sync config
Implementation
SyncConfig({
required this.syncEndPoint,
String? dbName,
this.migrations = const [],
this.sqliteMappings = const {},
this.restMappings = const {},
this.dbFactory,
}) : dbName = dbName ?? EngineConfig.name;