listAll method

Future<List<LiveActivity>> listAll()

Lists all Live Activities. @returns A Future with the result.

Implementation

Future<List<LiveActivity>> listAll() async {
  var response = await _module.channel.invokeMethod('liveActivity#listAll');
  return (response as List).map((e) => LiveActivity.fromJson(e)).toList();
}