watchDiscoveredGroups method
Watches all discovered groups, ordered by most recently seen. Use this to populate a "Browse Groups" UI.
Implementation
Stream<List<Group>> watchDiscoveredGroups() {
return (select(groups)..orderBy([(t) => OrderingTerm.desc(t.lastSeenAt)]))
.watch();
}