getActivityState method
Get the activity state.
If the activity is not found, null is returned.
Only available on iOS.
Implementation
Future<LiveActivityState?> getActivityState(String activityId) {
return LiveActivitiesPlatform.instance.getActivityState(activityId);
}