setPresence method

Future<void> setPresence(
  1. UserPresence presence
)

Sets the MyUser.presence to the provided value.

Implementation

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