buildExitChannel static method

Command buildExitChannel(
  1. BaseChannel channel
)

Implementation

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