getCallList method

  1. @override
Future<List<Call>?> getCallList()
override

Get list of current calls

Implementation

@override
Future<List<Call>?> getCallList() async {
  final calls = await callClientMethodChannel
      .invokeMethod<List<Object?>?>('getCallList');
  log("ExolvePlugin: callClientChannel: getCallList: calls = $calls");
  return calls
      ?.map((call) => Call.fromMap(call as Map<Object?, Object?>))
      .toList();
}