CellsResponse.fromJson constructor

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

Implementation

CellsResponse.fromJson(Map<String, dynamic> json) {
  neighboringCellList = [];
  if (json['neighboringCellList'] != null) {
    json['neighboringCellList'].forEach((v) {
      neighboringCellList!.add(new CellType.fromJson(v));
    });
  }
  primaryCellList = [];
  if (json['primaryCellList'] != null) {
    json['primaryCellList'].forEach((v) {
      primaryCellList!.add(new CellType.fromJson(v));
    });
  }

  cellDataList = [];
  if (json['cellDataList'] != null) {
    json['cellDataList'].forEach((v) {
      cellDataList!.add(new CellDataList.fromJson(v));
    });
  }
}