DataModel<T extends DataModel<T>> class abstract

Mixed in types
Available Extensions

Constructors

DataModel()

Properties

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

Methods

init() → T
inherited
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

adapterFor(DataModelMixin<DataModelMixin> model) RemoteAdapter<DataModelMixin>
Returns a model RemoteAdapter
keyFor(DataModel<DataModel> model) String
Returns a model's _key private attribute.
override
relationshipsFor<T extends DataModelMixin<T>>(T model) Map<String, Relationship<DataModelMixin, dynamic>>
Returns a model's non-null relationships.
withKeyOf<T extends DataModelMixin<T>>({required T source, required T destination}) → T
Apply source's key to destination.