unsubscribeFromChannel method

Future<void> unsubscribeFromChannel(
  1. String value
)

Unsubscribes the device to a channel of push notifications.

Implementation

Future<void> unsubscribeFromChannel(String value) async {
  final List<dynamic> channel = <String>[value];
  setRemove('channels', channel);
  await save();
}