BitState<V, L> class abstract

Inheritance

Constructors

BitState.data(V data)
factory
BitState.error(dynamic e)
factory
BitState.loading(L? loading)
factory

Properties

hashCode → int
The hash code for this object.
no setterinherited
isData → bool
no setter
isError → bool
no setter
isLoading → bool
no setter
map → JsonMap
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

hasSameData(BitState other) → bool
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited
when<R>({required R onLoading(L? loading), required R onError(dynamic error), required R onData(V data)}) → R
whenData<R>(R onData(V data)) → R?
whenOrNull<R>({R onLoading(L? loading)?, R onError(dynamic error)?, R onData(V data)?}) → R?

Operators

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