AccountDeclineOn.fromJson constructor
AccountDeclineOn.fromJson(
- Object? json
Implementation
factory AccountDeclineOn.fromJson(Object? json) {
final map = (json as Map).cast<String, Object?>();
return AccountDeclineOn(
avsFailure:
map['avs_failure'] == null ? null : (map['avs_failure'] as bool),
cvcFailure:
map['cvc_failure'] == null ? null : (map['cvc_failure'] as bool),
);
}