update method

Future<void> update([
  1. Object? data
])

Updates the data payload for a presence member. If called before entering the presence set, this is treated as a PresenceAction.enter event. You can provide the data payload to update for the presence member.

Implementation

Future<void> update([Object? data]) async {
  assert(_realtimeClientId != null, 'No client id specified on realtime');
  await updateClient(_realtimeClientId!, data);
}