activeCalls method

Future<List<String>> activeCalls()

Implementation

Future<List<String>> activeCalls() async {
  var resp = await _channel
      .invokeMethod<List<Object?>?>('activeCalls', <String, dynamic>{});
  if (resp != null) {
    var uuids = <String>[];
    resp.forEach((element) {
      if (element is String) {
        uuids.add(element);
      }
    });
    return uuids;
  }
  return [];
}