PaymentIntentNextActionPaynowDisplayQrCode.fromJson constructor
PaymentIntentNextActionPaynowDisplayQrCode.fromJson(
- Object? json
Implementation
factory PaymentIntentNextActionPaynowDisplayQrCode.fromJson(Object? json) {
final map = (json as Map).cast<String, Object?>();
return PaymentIntentNextActionPaynowDisplayQrCode(
data: (map['data'] as String),
hostedInstructionsUrl: map['hosted_instructions_url'] == null
? null
: (map['hosted_instructions_url'] as String),
imageUrlPng: (map['image_url_png'] as String),
imageUrlSvg: (map['image_url_svg'] as String),
);
}