PaymentFormResult.fromJson constructor

PaymentFormResult.fromJson(
  1. Map json
)

Implementation

PaymentFormResult.fromJson(Map<dynamic, dynamic> json) {
  cardHolder = json['cardHolder'] ?? "";
  paymentMethod = PaymentMethodType.fromValue(json['paymentMethod'] ?? "");
  token = json['token'] ?? "";
  isCardSaveOn = json['isCardSaveOn'] ?? false;
}