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