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