BaseStore class abstract

Inheritance

Constructors

BaseStore(BaseApiClient apiClient, List<BaseRepo Function(BaseStore)> _contructors)

Properties

apiClient BaseApiClient
final
eventPool StreamController<StoreEvent>
finalinherited
hashCode int
The hash code for this object.
no setterinherited
repos Set<BaseRepo>
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

call<T extends BaseRepo>() → T
contains<T>() bool
dispose() → void
disposeTempRepo<T>() → void
get<T extends BaseRepo>() → T
getTempRepo<T extends BaseRepo>(T constructor(BaseStore)) → T
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
notify(StoreEvent event) → void
inherited
registerRepos(List<BaseRepo Function(BaseStore)> _contructors) → void
subscribe(dynamic fn(StoreEvent event), {Function? onError, void onDone()?, bool? cancelOnError}) StreamSubscription<StoreEvent>
inherited
toString() String
A string representation of this object.
inherited

Operators

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