PaymentMethodOptionsCardPresent.fromJson constructor
PaymentMethodOptionsCardPresent.fromJson(
- Object? json
Implementation
factory PaymentMethodOptionsCardPresent.fromJson(Object? json) {
final map = (json as Map).cast<String, Object?>();
return PaymentMethodOptionsCardPresent(
requestExtendedAuthorization:
map['request_extended_authorization'] == null
? null
: (map['request_extended_authorization'] as bool),
requestIncrementalAuthorizationSupport:
map['request_incremental_authorization_support'] == null
? null
: (map['request_incremental_authorization_support'] as bool),
);
}