NetworkBoundResource<ResultType, RequestType, T> class

Constructors

NetworkBoundResource(ApiParser<T> _apiParser, {required CreateCall createCall, required ShouldFetch<ResultType> shouldFetch, required SaveCallResult<ResultType, RequestType> saveCallResult, LoadFromCache<ResultType>? loadFromCache, FetchFailed? fetchFailed, PaginationCall? paginationCall})

Properties

createCall CreateCall
final
fetchFailed FetchFailed?
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
loadFromCache LoadFromCache<ResultType>?
final
paginationCall PaginationCall?
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
saveCallResult SaveCallResult<ResultType, RequestType>
final
shouldFetch ShouldFetch<ResultType>
final

Methods

asStream() Stream<Resource<ResultType, T>>
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