HotlineSubscription class Null safety

Constructors

HotlineSubscription(String identifier, HotlineSubscriptionManager subscriptionManager, {required Function onReceived, required Function onConfirmed, Function? onUnsubscribed, Function? onRejected})

Properties

cancelledBySubscriptionManager bool
write-only
hashCode int
The hash code for this object. [...]
read-only, inherited
identifier String
read / write
onConfirmed Function
read / write
onReceived Function
read / write
onRejected Function?
read / write
onUnsubscribed Function?
read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
state HotlineSubscriptionRequestState
read / write
stateType HotlineSubscriptionRequestState
write-only
subscriptionManager HotlineSubscriptionManager
read / write

Methods

confirmed() → void
handleResponse(Map payload) → void
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
perform(String action, [Map<String, dynamic>? params]) → void
rejected() → void
toString() String
A string representation of this object. [...]
inherited
unsubscribe() → void

Operators

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