canUseGooglePay property

Future<bool> canUseGooglePay

Implementation

static Future<bool> get canUseGooglePay async {
  try {
    return await (_channel.invokeMethod('canUseGooglePay'));
  } on PlatformException catch (ex) {
    throw InAppPaymentsException(
        ex.code,
        ex.message,
        ex.details[InAppPaymentsException.debugCodeKey],
        ex.details[InAppPaymentsException.debugMessageKey]);
  }
}