BaseDataRepository<T> class
- Implemented types
- Implementers
Constructors
- BaseDataRepository(BuildContext buildCtx, IRepositoryOptions options)
Properties
- buildCtx → BuildContext
-
final
- data → T?
-
no setteroverride
-
dataSC
→ StreamController<
T?> -
no setteroverride
- errorMessage → String
-
no setteroverride
-
errorMessageSC
→ StreamController<
String> -
no setteroverride
- hashCode → int
-
The hash code for this object.
no setterinherited
- isError → bool
-
no setteroverride
-
isErrorSC
→ StreamController<
bool> -
no setteroverride
- isLoaded → bool
-
no setteroverride
-
isLoadedSC
→ StreamController<
bool> -
no setteroverride
- isLoading → bool
-
no setteroverride
-
isLoadingSC
→ StreamController<
bool> -
no setteroverride
-
items
→ List<
T> -
no setteroverride
-
itemsSC
→ StreamController<
List< T> ?> -
no setteroverride
- options → IRepositoryOptions
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
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 nonexistent 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