start method

Future<LiveActivity> start(
  1. LiveActivityStartRequest request
)

Starts a Live Activity. @param request The request options. @returns A Future with the result.

Implementation

Future<LiveActivity> start(LiveActivityStartRequest request) async {
  var response = await _module.channel
      .invokeMethod('liveActivity#start', request.toJson());
  return LiveActivity.fromJson(response);
}