Model<T extends Model<T>> class abstract

Constructors

Model()
Updating the model requires creating new instances of it since it should be immutable by design. Therefore the Model needs a generative constructor and not a factory.

Properties

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

Methods

copyWith() → 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

modelOf(Type type) → dynamic