PaymentMethodDetailsAfterpayClearpay.fromJson constructor
PaymentMethodDetailsAfterpayClearpay.fromJson(
- Object? json
Implementation
factory PaymentMethodDetailsAfterpayClearpay.fromJson(Object? json) {
final map = (json as Map).cast<String, Object?>();
return PaymentMethodDetailsAfterpayClearpay(
orderId: map['order_id'] == null ? null : (map['order_id'] as String),
reference: map['reference'] == null ? null : (map['reference'] as String),
);
}