getLocalPasses static method

Future<List<PKPass>?> getLocalPasses()

Implementation

static Future<List<PKPass>?> getLocalPasses() async {
  List<PKPass>? localPasses =
      await (_methodChannel.invokeListMethod<PKPass>('getLocalPasses'));
  if (localPasses == null){
    return null;
  }
  return localPasses.map(PKPass.fromJson).toList();
}