getPushToken method

Future<String?> getPushToken(
  1. String activityId
)

Get synchronously the push token. Prefer using the stream activityUpdateStream to keep push token up to date.

Implementation

Future<String?> getPushToken(String activityId) {
  return LiveActivitiesPlatform.instance.getPushToken(activityId);
}