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 {
  return _sdk.api.freezeChannel(
    channelType: channelType,
    channelUrl: channelUrl,
    freeze: true,
  );
}