checkActiveCard method

Future<bool> checkActiveCard({
  1. List<PaymentNetwork>? paymentNetworks,
})

Returns true if Apple/Google Pay is available on device and there is at least one activate card

You can set allowed payment networks in paymentNetworks parameter. See PaymentNetwork

Implementation

Future<bool> checkActiveCard({
  List<PaymentNetwork>? paymentNetworks,
}) =>
    MadPayInterface.instance
        .checkActiveCard(paymentNetworks: paymentNetworks);