freeze method Null safety

Future<void> freeze()

Freezes this channel.

After this method completes successfully, channel event ChannelEventHandler.onChannelFrozen will be invoked. Operator only

Implementation

Future<void> freeze() async {
  await _sdk.api.send(GroupChannelFreezeSetRequest(
    channelUrl: channelUrl,
    freeze: true,
  ));
}