DataState class
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
-
map<TResult extends Object?>({required TResult fixed(DataStateFixed value), required TResult loading(DataStateLoading value), required TResult error(DataStateError value)})
→ TResult
-
inherited
-
mapOrNull<TResult extends Object?>({TResult fixed(DataStateFixed value)?, TResult loading(DataStateLoading value)?, TResult error(DataStateError value)?})
→ TResult?
-
inherited
-
maybeMap<TResult extends Object?>({TResult fixed(DataStateFixed value)?, TResult loading(DataStateLoading value)?, TResult error(DataStateError value)?, required TResult orElse()})
→ TResult
-
inherited
-
maybeWhen<TResult extends Object?>({TResult fixed(AdditionalDataState nextDataState, AdditionalDataState prevDataState)?, TResult loading()?, TResult error(Exception exception)?, required TResult orElse()})
→ TResult
-
inherited
-
nextDataStateOrNull()
→ AdditionalDataState
-
-
nextKeyOrNull()
→ String?
-
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
prevDataStateOrNull()
→ AdditionalDataState
-
-
prevKeyOrNull()
→ String?
-
-
toString()
→ String
-
A string representation of this object.
inherited
-
when<TResult extends Object?>({required TResult fixed(AdditionalDataState nextDataState, AdditionalDataState prevDataState), required TResult loading(), required TResult error(Exception exception)})
→ TResult
-
inherited
-
whenOrNull<TResult extends Object?>({TResult fixed(AdditionalDataState nextDataState, AdditionalDataState prevDataState)?, TResult loading()?, TResult error(Exception exception)?})
→ TResult?
-
inherited