OfflineFirstWithGraphqlModel class
abstract
Inheritance
Object
SqliteModel
OfflineFirstModel
OfflineFirstWithGraphqlModel
Properties
hashCode
→ int
The hash code for this object.
no setter inherited
isNewRecord
→ bool
If true
, this model has not yet been inserted into SQLite.
no setter inherited
primaryKey
↔ int ?
DO NOT modify this in the end implementation code. The Repository will update it accordingly.
It is strongly recommended that this field only be used by Brick's internal queries and not
in the end implementation.
getter/setter pair inherited
runtimeType
→ Type
A representation of the runtime type of the object.
no setter 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 nonexistent method or property is accessed.
inherited
toString ()
→ String
A string representation of this object.
inherited
brick_offline_first_with_graphql_abstract 1.0.1