BaseDataRepository<T> class Null safety

Implemented types
Implementers

Constructors

BaseDataRepository(BuildContext buildCtx, IRepositoryOptions options)

Properties

buildCtx BuildContext
final
data → T?
read-only, override
dataSC StreamController<T?>
read-only, override
errorMessage String
read-only, override
errorMessageSC StreamController<String>
read-only, override
hashCode int
The hash code for this object. [...]
read-only, inherited
isError bool
read-only, override
isErrorSC StreamController<bool>
read-only, override
isLoaded bool
read-only, override
isLoadedSC StreamController<bool>
read-only, override
isLoading bool
read-only, override
isLoadingSC StreamController<bool>
read-only, override
items List<T>
read-only, override
itemsSC StreamController<List<T>?>
read-only, override
options IRepositoryOptions
final
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

alertError(dynamic e) → void
override
clear() → void
override
dispose() → void
override
fetch({Map<String, dynamic>? params, bool isMock = false}) Future<void>
override
fetchAfterId(String afterId, {Map<String, dynamic>? params, bool isMock = false}) Future<void>
override
forceValueNotify() → void
override
get(String id, {Map<String, dynamic>? params, bool isMock = false}) Future<void>
override
initial() → void
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
setInnerData(dynamic data) → void
override
toErrorStatus(dynamic e) → void
override
toLoadedStatus() → void
override
toLoadingStatus() → void
override
toString() String
A string representation of this object. [...]
inherited
transform(dynamic ts) → T?
override
transforms(dynamic tss) List<T>
override

Operators

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