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