FeeLines.fromJson constructor

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

Implementation

FeeLines.fromJson(Map<String, dynamic> json) {
  name = json['name'];
  taxClass = json['tax_class'];
  taxStatus = json['tax_status'];
  total = json['total'];
  if (json['meta_data'] != null) {
    metaData = [];
    json['meta_data'].forEach((v) {
      metaData!.add(MetaData.fromJson(v));
    });
  }
}