BaseStateI class abstract
Base interface for state objects
Provides a common structure for all state classes with status tracking and message handling capabilities.
- Available extensions
Constructors
- BaseStateI({StateStatus status = StateStatus.initial, String message = ''})
-
const
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- message → String
-
Optional message associated with the state
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- status → StateStatus
-
Current status of the state
final
- statusLoading → bool
-
Available on BaseStateI, provided by the BaseStateIExt extension
Returns true if the state is in a loading stateno setter
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