ReportApiColumnSpec.fromJson constructor

ReportApiColumnSpec.fromJson(
  1. Map _json
)

Implementation

ReportApiColumnSpec.fromJson(core.Map _json) {
  if (_json.containsKey("columnName")) {
    columnName = _json["columnName"];
  }
  if (_json.containsKey("customDimensionName")) {
    customDimensionName = _json["customDimensionName"];
  }
  if (_json.containsKey("customMetricName")) {
    customMetricName = _json["customMetricName"];
  }
  if (_json.containsKey("endDate")) {
    endDate = _json["endDate"];
  }
  if (_json.containsKey("groupByColumn")) {
    groupByColumn = _json["groupByColumn"];
  }
  if (_json.containsKey("headerText")) {
    headerText = _json["headerText"];
  }
  if (_json.containsKey("platformSource")) {
    platformSource = _json["platformSource"];
  }
  if (_json.containsKey("productReportPerspective")) {
    productReportPerspective = _json["productReportPerspective"];
  }
  if (_json.containsKey("savedColumnName")) {
    savedColumnName = _json["savedColumnName"];
  }
  if (_json.containsKey("startDate")) {
    startDate = _json["startDate"];
  }
}