PaymentRequest.fromJson constructor

PaymentRequest.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory PaymentRequest.fromJson(Map<String, dynamic> json) {
  return PaymentRequest(
      amount: json['amount'],
      orderId: json['orderId'],
      currency: json['currency']);
}