ContactorCodeData.fromJson constructor

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

Implementation

ContactorCodeData.fromJson(Map<String, dynamic> json) {
  if (json['listData'] != null) {
    listData = <ContactorDataListData>[];
    (json['listData'] as List).forEach((v) {
      listData.add(new ContactorDataListData.fromJson(v));
    });
  }
  name = json['name'];
}