Loading<T, F> class Null safety

Implemented types

Constructors

Loading({T? data, F? filter})
const
factory

Properties

copyWith → $LoadingCopyWith<T, F, Loading<T, F>>
@JsonKey(ignore: true), read-only
data → T?
read-only
filter → F?
read-only
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

Methods

map<TResult extends Object?>(TResult $default(_Data<T, F> value), {required TResult loading(Loading<T, F> value), required TResult empty(Empty<T, F> value), required TResult error(Error<T, F> value)}) → TResult
@optionalTypeArgs, inherited
mapOrNull<TResult extends Object?>(TResult $default(_Data<T, F> value)?, {TResult loading(Loading<T, F> value)?, TResult empty(Empty<T, F> value)?, TResult error(Error<T, F> value)?}) → TResult?
@optionalTypeArgs, inherited
maybeMap<TResult extends Object?>(TResult $default(_Data<T, F> value)?, {TResult loading(Loading<T, F> value)?, TResult empty(Empty<T, F> value)?, TResult error(Error<T, F> value)?, required TResult orElse()}) → TResult
@optionalTypeArgs, inherited
maybeWhen<TResult extends Object?>(TResult $default(T? data, F? filter)?, {TResult loading(T? data, F? filter)?, TResult empty(T? data, F? filter)?, TResult error(T? data, F? filter, Object? error)?, 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?>(TResult $default(T? data, F? filter), {required TResult loading(T? data, F? filter), required TResult empty(T? data, F? filter), required TResult error(T? data, F? filter, Object? error)}) → TResult
@optionalTypeArgs, inherited
whenOrNull<TResult extends Object?>(TResult $default(T? data, F? filter)?, {TResult loading(T? data, F? filter)?, TResult empty(T? data, F? filter)?, TResult error(T? data, F? filter, Object? error)?}) → TResult?
@optionalTypeArgs, inherited

Operators

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