PaymentModeModel.fromJson constructor
Implementation
PaymentModeModel.fromJson(Map<String, dynamic> json) {
status = json['status'];
message = json['message'];
timeStamp = json['timeStamp'];
if (json['data'] != null) {
data = <PaymentData>[];
json['data'].forEach((v) {
data!.add(new PaymentData.fromJson(v));
});
}
requestId = json['requestId'];
correlationId = json['correlationId'];
code = json['code'];
errors = json['errors'];
}