PaymentResult.fromJson constructor

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

Implementation

factory PaymentResult.fromJson(Map<String, dynamic> json) => PaymentResult(
      dataMessage: json["data_message"] ?? json["data_message"],
      token: json["token"] ?? json["token"],
      maskedPan: json["masked_pan"] ?? json["masked_pan"],
      id: json["id"] ?? json["id"],
    );