SmartState enum
Enum representing all possible states
- Inheritance
- Available extensions
Values
- initial → const SmartState
- loading → const SmartState
- error → const SmartState
- empty → const SmartState
- offline → const SmartState
- success → const SmartState
- loadingMore → const SmartState
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- index → int
-
A numeric identifier for the enumerated value.
no setterinherited
- isEmpty → bool
-
Available on SmartState, provided by the SmartStateExtension extension
Returns true if current state is emptyno setter - isError → bool
-
Available on SmartState, provided by the SmartStateExtension extension
Returns true if current state is errorno setter - isInitial → bool
-
Available on SmartState, provided by the SmartStateExtension extension
Returns true if current state is initialno setter - isLoading → bool
-
Available on SmartState, provided by the SmartStateExtension extension
Returns true if current state is loadingno setter - isLoadingMore → bool
-
Available on SmartState, provided by the SmartStateExtension extension
Returns true if current state is loadingMoreno setter - isOffline → bool
-
Available on SmartState, provided by the SmartStateExtension extension
Returns true if current state is offlineno setter - isSuccess → bool
-
Available on SmartState, provided by the SmartStateExtension extension
Returns true if current state is successno setter - name → String
-
Available on Enum, provided by the EnumName extension
The name of the enum value.no setter - 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
Constants
-
values
→ const List<
SmartState> - A constant List of the values in this enum, in order of their declaration.