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 empty
no setter
isError → bool

Available on SmartState, provided by the SmartStateExtension extension

Returns true if current state is error
no setter
isInitial → bool

Available on SmartState, provided by the SmartStateExtension extension

Returns true if current state is initial
no setter
isLoading → bool

Available on SmartState, provided by the SmartStateExtension extension

Returns true if current state is loading
no setter
isLoadingMore → bool

Available on SmartState, provided by the SmartStateExtension extension

Returns true if current state is loadingMore
no setter
isOffline → bool

Available on SmartState, provided by the SmartStateExtension extension

Returns true if current state is offline
no setter
isSuccess → bool

Available on SmartState, provided by the SmartStateExtension extension

Returns true if current state is success
no 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.