PushChannel class
Enables devices to subscribe to push notifications for a channel.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
listSubscriptions(
Map< String, String> params) → Future<PaginatedResult< PushChannelSubscription> > - Retrieves all push subscriptions for the channel.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
subscribeClient(
) → Future< void> -
Subscribes all devices associated with the current device's
clientId
to push notifications for the channel. -
subscribeDevice(
) → Future< void> - Subscribes the device to push notifications for the channel.
-
toString(
) → String -
A string representation of this object.
inherited
-
unsubscribeClient(
) → Future< void> -
Unsubscribes all devices associated with the current device's
clientId
from receiving push notifications for the channel. -
unsubscribeDevice(
) → Future< void> - Unsubscribes the device from receiving push notifications for the channel.
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited