PaymentIntentBlik.fromJson constructor
PaymentIntentBlik.fromJson(
- Object? json
Implementation
factory PaymentIntentBlik.fromJson(Object? json) {
final map = (json as Map).cast<String, Object?>();
return PaymentIntentBlik(
code: map['code'] == null ? null : (map['code'] as String),
setupFutureUsage: map['setup_future_usage'] == null
? null
: PaymentIntentBlikSetupFutureUsage.fromJson(
map['setup_future_usage']),
);
}