buildEnterChannel static method Null safety

Command buildEnterChannel(
  1. BaseChannel channel
)

Implementation

static Command buildEnterChannel(BaseChannel channel) {
  return Command(
    cmd: CommandString.enter,
    payload: {
      'channel_url': channel.channelUrl,
      'last_ts': DateTime.now().millisecondsSinceEpoch,
    },
  );
}