AttributesMapping.fromJson constructor

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

Implementation

AttributesMapping.fromJson(Map<String, dynamic> json) {
  id = json['id'];
  transactionId = json['transactionId'];
  rowId = json['rowId'];
  mode = json['mode'];
  value = json['value'];
  amount = json['amount'];
  status = json['status'];
  attribute = json['attribute'] != null
      ? new Attribute.fromJson(json['attribute'])
      : null;
}