ChannelInfo.error constructor

ChannelInfo.error(
  1. String channelName,
  2. int type
)

Implementation

factory ChannelInfo.error(String channelName, int type) {
  return ChannelInfo(channelName, '', null, type);
}