FourStates<T> class sealed

Implementers

Properties

hashCode int
The hash code for this object.
no setterinherited
isLoading bool
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

map<R extends Object?>({required R initialState(), required R loadingState(double? progress), required R succeedState(T successObject), required R failedState(String? failureMessage, dynamic exception)}) → R
mayBeMap<R extends Object?>({required R orElse(), R initialState()?, R loadingState(double? progress)?, R succeedState(T successObject)?, R failedState(String? failureMessage, dynamic exception)?}) → R
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