fromMap static method

PaymentFailureResponse fromMap(
  1. Map map
)

Implementation

static PaymentFailureResponse fromMap(Map<dynamic, dynamic> map) {
  var code = map["code"] as String?;
  var message = map["message"] as String?;
  var intentId = map["intentId"] as String?;
  return PaymentFailureResponse(code, message,intentId);
}