ChannelWithId constructor

ChannelWithId({
  1. Int64? channelId,
  2. Channel? channel,
})

Implementation

factory ChannelWithId({
  $fixnum.Int64? channelId,
  Channel? channel,
}) {
  final _result = create();
  if (channelId != null) {
    _result.channelId = channelId;
  }
  if (channel != null) {
    _result.channel = channel;
  }
  return _result;
}