getTeams method

Set<String> getTeams([
  1. Channel? id
])

Implementation

Set<String> getTeams([Channel? id]) => teamMembers.entries
    .where((entry) => entry.value.contains(id ?? this.id))
    .map((entry) => entry.key)
    .toSet();