list method
- LiveActivityListRequest request
Lists any Live Activities for the request. @param request The request options. @returns A Future with the result.
Implementation
Future<List<LiveActivity>> list(LiveActivityListRequest request) async {
var response = await _module.channel
.invokeMethod('liveActivity#list', request.toJson());
return (response as List).map((e) => LiveActivity.fromJson(e)).toList();
}