SyncModel class Null safety
- Inheritance
- Implementers
Constructors
Properties
- hashCode → int
-
The hash code for this object. [...]
read-only, inherited
- isNewRecord → bool
-
If
true
, this model has not yet been inserted into SQLite.read-only, inherited - primaryKey ↔ int?
-
The fields needs to be overwritten, to keep it out of the json
@JsonKey(ignore: true), read / write, override
- runtimeType → Type
-
A representation of the runtime type of the object.
read-only, inherited
Methods
-
afterSave(
{Provider< Model> ? provider, ModelRepository<Model> ? repository}) → Future<void> -
Hook invoked after the model is successfully entered in the SQLite database.
Useful to update or save associations.
inherited
-
beforeSave(
{Provider< Model> ? provider, ModelRepository<Model> ? repository}) → Future<void> -
Hook invoked before the model is successfully entered in the SQLite database.
Useful to update or save associations.
inherited
-
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