ModelType<T extends Model> class
abstract
- Implementers
- Annotations
-
- @immutable
Constructors
- ModelType()
-
const
Properties
- hashCode → int
-
The hash code for this object.
no setteroverride
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
callWithType<
R> (R action< T>() ) → R -
Perform
action
withT
as type argument. -
cast(
Object o) → T -
fromJson(
Map< String, dynamic> jsonData) → T -
fromSerializedMap(
Map< String, dynamic> serializedMap) → T -
isInstance(
Object o) → bool -
modelName(
) → String -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
safeCast(
Object o) → T? -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator <(
ModelType< Model> other) → bool -
operator <=(
ModelType< Model> other) → bool -
operator ==(
Object other) → bool -
The equality operator.
override
-
operator >(
ModelType< Model> other) → bool -
operator >=(
ModelType< Model> other) → bool