AtomAppState<E, S> class
abstract
A default application state. E represents an Error class and S represents a Success class
- Implementers
- Available extensions
Constructors
- AtomAppState()
-
const
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
asError(
) → ErrorState< L, R> -
Available on AtomAppState<
L, R> , provided by the TypedState extension -
asLoading(
) → LoadingState< L, R> -
Available on AtomAppState<
L, R> , provided by the TypedState extension -
asSuccess(
) → SuccessState< L, R> -
Available on AtomAppState<
L, R> , provided by the TypedState extension -
isError(
) → bool -
Available on AtomAppState<
L, R> , provided by the TypedState extension -
isLoading(
) → bool -
Available on AtomAppState<
L, R> , provided by the TypedState extension -
isSuccess(
) → bool -
Available on AtomAppState<
L, R> , provided by the TypedState extension -
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