SubscriptionResourceNotifier<DataType, ErrorType> class

Constructors

SubscriptionResourceNotifier({DataType? dataType, AdeptPublishSubject<SubscriptionResource<DataType?>>? publishSubject, required SubscriptionCall subscriptionCall, OnSubscriptionDataSuccess<DataType?, ErrorType?>? onSubscriptionDataSuccess, OnSubscriptionDataError<DataType?, ErrorType?>? onSubscriptionDataError, OnSubscriptionFailed<DataType?>? onSubscriptionFailed, OnSubscriptionErrorManagement<DataType?, ErrorType?>? onSubscriptionErrorManagement, QueryResponseConverter<DataType?>? dataTypeResponseConverter})

Properties

hashCode int
The hash code for this object.
no setterinherited
isPaused bool
no setter
onSubscriptionDataError OnSubscriptionDataError<DataType?, ErrorType?>?
getter/setter pair
onSubscriptionDataSuccess OnSubscriptionDataSuccess<DataType?, ErrorType?>?
getter/setter pair
onSubscriptionErrorManagement OnSubscriptionErrorManagement<DataType?, ErrorType?>?
getter/setter pair
onSubscriptionFailed OnSubscriptionFailed<DataType?>?
getter/setter pair
publishSubject → AdeptPublishSubject<SubscriptionResource<DataType?>>
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
subscriptionCall SubscriptionCall
getter/setter pair

Methods

asPublishSubject() → AdeptPublishSubject<SubscriptionResource<DataType?>>
cancel() Future<void>
handleOnSubscriptionDataError({dynamic exception, QueryResponse<DataType?, ErrorType?>? response}) Future<SubscriptionResource<DataType?>>
handleOnSubscriptionDataSuccess({SubscriptionResource<DataType?>? resource, QueryResponse<DataType?, ErrorType?>? response}) Future<SubscriptionResource<DataType?>>
handleOnSubscriptionFailed(dynamic exception) Future<SubscriptionResource<DataType?>>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
pause([Future<void>? resumeSignal]) → void
resume() → void
start() Future<void>
toString() String
A string representation of this object.
inherited

Operators

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