presenceState method

List<SinglePresenceState> presenceState()

Implementation

List<SinglePresenceState> presenceState() {
  return presence.state.entries
      .map((entry) =>
          SinglePresenceState(key: entry.key, presences: entry.value))
      .toList();
}