setPresence method

Future<void> setPresence(
  1. Presence presence
)

Updates MyUser.presence to the provided presence.

Implementation

Future<void> setPresence(Presence presence) =>
    _myUserService.updateUserPresence(presence);