SyncConfig class Null safety
Constructors
-
SyncConfig({required String syncEndPoint, String? dbName, List<
Migration> migrations = const [], Map<Type, SqliteAdapter< sqliteMappings = const {}, Map<SqliteModel> >Type, RestAdapter< restMappings = const {}, DatabaseFactory? dbFactory})RestModel> > - Sync config
- SyncConfig.engineDefault()
- Default engine sync config
Properties
- dbFactory → DatabaseFactory?
-
Options to override the database factory
final
- dbName → String
-
Configure the sqlite database name
final
- hashCode → int
-
The hash code for this object. [...]
read-only, inherited
-
migrations
→ List<
Migration> -
Hand in migrations, which get merged with the engine migrations
final
-
restMappings
→ Map<
Type, RestAdapter< RestModel> > -
Hand in rest mappings, which get merged with the engine mappings
final
- runtimeType → Type
-
A representation of the runtime type of the object.
read-only, inherited
-
sqliteMappings
→ Map<
Type, SqliteAdapter< SqliteModel> > -
Hand in sqlite mappings, which get merged with the engine mappings
final
- syncEndPoint → String
-
Configure the rest endpoint for the sync logic
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed. [...]
inherited
-
toString(
) → String -
A string representation of this object. [...]
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator. [...]
inherited