isCardAddedToLocalWalletWithPrimaryAccountIdentifier static method

Future<bool> isCardAddedToLocalWalletWithPrimaryAccountIdentifier(
  1. String primaryAccountIdentifier
)

Implementation

static Future<bool> isCardAddedToLocalWalletWithPrimaryAccountIdentifier(String primaryAccountIdentifier) async {
  bool? cardAddedLocallyWithAccountId = await _methodChannel
      .invokeMethod<bool>('isCardAddedToLocalWalletWithPrimaryAccountIdentifier', [primaryAccountIdentifier]);
  if (cardAddedLocallyWithAccountId != null && cardAddedLocallyWithAccountId == true){
    return true;
  }
  return false;
}