StationData.fromJson constructor

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

Implementation

StationData.fromJson(Map<String, dynamic> json) {
  id = json["id"];
  roomTaskId = json["roomTaskId"];
  actualOrder = json["actualOrder"];
  suiteStationId = json["suiteStationId"];
  bindingId = json["bindingId"];
  type = json["type"];
  resultDataStr = json["resultData"].toString();
  resultData = json["resultData"] == null
      ? null
      : StationResultData.fromJson(jsonDecode(json["resultData"]));
  measureMode = json["measureMode"];

  paramData = json["paramData"] == null
      ? null
      : StationParamData.fromJson(jsonDecode(json["paramData"]));
  computeStatus = json["computeStatus"];
  stationType = json["stationType"];
  stationTypeName = json["stationTypeName"];
  createTime = json["createTime"];
  modifiedTime = json["modifiedTime"];
  status = json["status"];
  mark = json["mark"];
  flsFilePath = json["flsFilePath"];
  computeInfo = json["computeInfo"];
  stationName = json["stationName"];
  suiteId = json["suiteId"];
  standard = json["standard"];
  plyStatus = json["plyStatus"];
  plyPath = json["plyPath"];
  originCoordinate = json["originCoordinate"];
}