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

hashCode int
The hash code for this object.
no setterinherited
id Object?
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

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?