NotificationRepository class Null safety

Inheritance

Constructors

NotificationRepository({required BuildContext buildCtx, required IRepositoryOptions options})

Properties

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

Methods

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

Operators

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