IBaseDataRepository<T> class Null safety

Implementers

Constructors

IBaseDataRepository()

Properties

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

Methods

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

Operators

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