channels property

List<Channel> get channels

Implementation

List<Channel> get channels {
  if (channelSlots != null) {
    return [
      ...channelSlots!.channels,
      ...channelSlots!.privateGroups,
      ...channelSlots!.directMessages,
    ];
  }

  return channels_ ?? <Channel>[];
}