list method

Future<List<LiveUpdate>> list(
  1. LiveUpdateListRequest request
)

Lists any Live Updates for the request. @param request The request options. @returns A Future with the result.

Implementation

Future<List<LiveUpdate>> list(LiveUpdateListRequest request) async {
  var response =
      await _module.channel.invokeMethod('liveUpdate#list', request.toJson());
  return (response as List<Object?>)
      .map((e) => LiveUpdate.fromJson(e as Map<String, Object?>))
      .toList();
}