BaseModel<St> class
abstract
Don't use, this is deprecated. Please, use the recommended Vm class. This should only be used for IMMUTABLE classes. Lets you implement equals/hashcode without having to override these methods.
Constructors
Properties
-
dispatch
→ Dispatch<
St> ? -
no setter
-
equals
→ List<
Object?> -
The List of properties which will be used to determine whether two BaseModels are equal.
final
- getAndRemoveFirstError → UserException? Function()
-
no setter
- hashCode → int
-
The hash code for this object.
no setteroverride
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- state → St
-
no setter
- widget → Object?
-
You can pass the connector widget, in case the view-model needs any info from it.
final
Methods
-
fromStore(
) → BaseModel -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override