ChannelSlots constructor

const ChannelSlots({
  1. @JsonKey(name: 'channel_channel') required List<Channel> channels,
  2. @JsonKey(name: 'channel_direct_message') required List<Channel> directMessages,
  3. @JsonKey(name: 'channel_private_group') required List<Channel> privateGroups,
})

Implementation

const factory ChannelSlots({
  @JsonKey(name: 'channel_channel') required List<Channel> channels,
  @JsonKey(name: 'channel_direct_message')
  required List<Channel> directMessages,
  @JsonKey(name: 'channel_private_group')
  required List<Channel> privateGroups,
}) = _ChannelSlots;