Application/medcify/lib/models/api/razor_pay_failure_response.dart
2022-09-26 12:03:52 +05:30

15 lines
311 B
Dart

class RazorPayFailureResponse{
RazorPayError? error;
RazorPayFailureResponse.fromJson(Map<String, dynamic> json){
error = RazorPayError.fromJson(json["error"]);
}
}
class RazorPayError{
String? desc;
RazorPayError.fromJson(Map<String, dynamic> json){
desc = json["description"] ?? "";
}
}