AFModelWithCustomID class

Implementers

Constructors

AFModelWithCustomID({String? customStateId})
By default each model uses its class name as a key to uniquely identify itself in the AFComponentState. However, if you want to have two objects of the same class in the AFAppState, you can pass each one a unique customStateId.

Properties

customStateId → String?
final
hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

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

modelFor(Object? source) → Object?
stateKeyFor(Object o) → String