PaymentIntentOnline.fromJson constructor
PaymentIntentOnline.fromJson(
- Object? json
Implementation
factory PaymentIntentOnline.fromJson(Object? json) {
final map = (json as Map).cast<String, Object?>();
return PaymentIntentOnline(
ipAddress: (map['ip_address'] as String),
userAgent: (map['user_agent'] as String),
);
}