ChannelId constructor
ChannelId(
- String value
Initializes an instance of ChannelId
Implementation
factory ChannelId(String value) {
final id = parseChannelId(value);
if (id == null) {
throw ArgumentError.value(value, 'value', 'Invalid channel id');
}
return ChannelId._internal(id);
}