FutureValue<T> class Null safety

Inheritance

Constructors

FutureValue(T value)
const
factory

Properties

copyWith → $FutureValueCopyWith<T, FutureValue<T>>
@JsonKey(ignore: true), read-only
hasData bool
read-only, inherited
hashCode int
The hash code for this object. [...]
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
value → T
read-only, override

Methods

map<TResult extends Object?>({required TResult loading(FutureLoading value), required TResult refreshing(FutureRefreshing value), required TResult value(FutureValue value)}) → TResult
@optionalTypeArgs, inherited
mapOrNull<TResult extends Object?>({TResult loading(FutureLoading value)?, TResult refreshing(FutureRefreshing value)?, TResult value(FutureValue value)?}) → TResult?
@optionalTypeArgs, inherited
maybeMap<TResult extends Object?>({TResult loading(FutureLoading value)?, TResult refreshing(FutureRefreshing value)?, TResult value(FutureValue value)?, required TResult orElse()}) → TResult
@optionalTypeArgs, inherited
maybeWhen<TResult extends Object?>({TResult loading()?, TResult refreshing(dynamic lastValue)?, TResult value(dynamic value)?, required TResult orElse()}) → TResult
@optionalTypeArgs, inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent 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
@optionalTypeArgs, inherited
whenOrNull<TResult extends Object?>({TResult loading()?, TResult refreshing(dynamic lastValue)?, TResult value(dynamic value)?}) → TResult?
@optionalTypeArgs, inherited

Operators

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