buildExitChannel static method Null safety

Command buildExitChannel(
  1. BaseChannel channel
)

Implementation

static Command buildExitChannel(BaseChannel channel) {
  return Command(
    cmd: CommandString.exit,
    payload: {
      'channel_url': channel.channelUrl,
    },
  );
}