deviceSupportsNativePay static method
Implementation
static Future<bool?> deviceSupportsNativePay() async {
if (kIsWeb) {
return false;
} else {
if (Platform.isIOS) {
return _deviceSupportsApplePay();
} else if (Platform.isAndroid) {
return _deviceSupportsAndroidPay();
} else {
return false;
}
}
}