FutureValue<T> class abstract

Inheritance

Constructors

FutureValue(T value)
const
factory

Properties

copyWith → $FutureValueCopyWith<T, FutureValue<T>>
no setter
hasData bool
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
value → T
no setteroverride

Methods

map<TResult extends Object?>({required TResult loading(FutureLoading value), required TResult refreshing(FutureRefreshing value), required TResult value(FutureValue value)}) → TResult
inherited
mapOrNull<TResult extends Object?>({TResult loading(FutureLoading value)?, TResult refreshing(FutureRefreshing value)?, TResult value(FutureValue value)?}) → TResult?
inherited
maybeMap<TResult extends Object?>({TResult loading(FutureLoading value)?, TResult refreshing(FutureRefreshing value)?, TResult value(FutureValue value)?, required TResult orElse()}) → TResult
inherited
maybeWhen<TResult extends Object?>({TResult loading()?, TResult refreshing(dynamic lastValue)?, TResult value(dynamic value)?, required TResult orElse()}) → TResult
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited
when<TResult extends Object?>({required TResult loading(), required TResult refreshing(dynamic lastValue), required TResult value(dynamic value)}) → TResult
inherited
whenOrNull<TResult extends Object?>({TResult loading()?, TResult refreshing(dynamic lastValue)?, TResult value(dynamic value)?}) → TResult?
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited