delete method

Future<ChannelGroupDeleteResult> delete(
  1. String group, {
  2. Keyset? keyset,
  3. String? using,
})

Removes ALL channels from a channel group.

Implementation

Future<ChannelGroupDeleteResult> delete(String group,
    {Keyset? keyset, String? using}) {
  keyset ??= _core.keysets[using];
  return defaultFlow<ChannelGroupDeleteParams, ChannelGroupDeleteResult>(
      keyset: keyset,
      core: _core,
      params: ChannelGroupDeleteParams(keyset, group),
      serialize: (object, [_]) => ChannelGroupDeleteResult.fromJson(object));
}