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
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
toString()
→ String
-
A string representation of this object.
inherited
Static Methods
-
asFuture<ResultType, RequestType>({Future<RequestType> loadFromDb()?, bool shouldFetch(RequestType? data)?, required Future<RequestType> createCall(), FutureOr<ResultType> processResponse(RequestType? result)?, Future saveCallResult(RequestType? item)?})
→ Future<Resource<ResultType>>
-
-
asResourceStream<ResultType, RequestType>({required Stream<Resource<RequestType>> createCall(), FutureOr<ResultType> processResponse(RequestType? result)?})
→ Stream<Resource<ResultType>>
-
-
asSimpleStream<ResultType, RequestType>({required Stream<RequestType> createCall(), FutureOr<ResultType> processResponse(RequestType result)?})
→ Stream<Resource<ResultType>>
-
-
asStream<ResultType, RequestType>({Stream<RequestType> loadFromDbStream()?, Future<RequestType> loadFromDbFuture()?, bool shouldFetch(RequestType? data)?, required Future<RequestType> createCall(), FutureOr<ResultType> processResponse(RequestType? result)?, Future saveCallResult(RequestType item)?})
→ Stream<Resource<ResultType>>
-