DataModelMixin<T extends DataModelMixin<T> > mixin
Data classes extending this class are marked to be managed through Flutter Data.
It enforces the implementation of an id getter. It contains private state and methods to track the model's identity.
- Mixin Applications
Properties
Methods
-
init(
) → T -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
keyFor(
DataModelMixin< DataModelMixin> model) → String? -
relationshipsFor(
DataModelMixin< DataModelMixin> model) → Set<Relationship< DataModelMixin, dynamic> > - Returns a model's non-null relationships.