FetchDataState class

Inheritance
  • Object
  • Union4Impl<_Initial, _Loaded, _Error, _Loading>
  • FetchDataState

Constructors

FetchDataState.error({dynamic generic = ''})
factory
FetchDataState.initial()
factory
FetchDataState.loaded(List<InfiniteScrollPODO> data)
factory
FetchDataState.loading({List<InfiniteScrollPODO>? oldData, bool isLoadMore = false})
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

continued(dynamic continuationFirst(_Initial), dynamic continuationSecond(_Loaded), dynamic continuationThird(_Error), dynamic continuationFourth(_Loading)) → void
inherited
join<R>(R mapFirst(_Initial), R mapSecond(_Loaded), R mapThird(_Error), R mapFourth(_Loading)) → R
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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