Loading<T> class abstract

Implemented types

Constructors

Loading()
const
factory

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 idle(Idle<T> value), required TResult loading(Loading<T> value), required TResult success(Success<T> value), required TResult failure(Failure<T> value)}) → TResult
inherited
mapOrNull<TResult extends Object?>({TResult idle(Idle<T> value)?, TResult loading(Loading<T> value)?, TResult success(Success<T> value)?, TResult failure(Failure<T> value)?}) → TResult?
inherited
maybeMap<TResult extends Object?>({TResult idle(Idle<T> value)?, TResult loading(Loading<T> value)?, TResult success(Success<T> value)?, TResult failure(Failure<T> value)?, required TResult orElse()}) → TResult
inherited
maybeWhen<TResult extends Object?>({TResult idle()?, TResult loading()?, TResult success(T data)?, TResult failure(String reason)?, 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 idle(), required TResult loading(), required TResult success(T data), required TResult failure(String reason)}) → TResult
inherited
whenOrNull<TResult extends Object?>({TResult idle()?, TResult loading()?, TResult success(T data)?, TResult failure(String reason)?}) → TResult?
inherited

Operators

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