15 lines
311 B
Dart
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"] ?? "";
|
||
|
}
|
||
|
}
|