ReportApiColumnSpec.fromJson constructor

ReportApiColumnSpec.fromJson(
  1. Map json_
)

Implementation

ReportApiColumnSpec.fromJson(core.Map json_)
    : this(
        columnName: json_.containsKey('columnName')
            ? json_['columnName'] as core.String
            : null,
        customDimensionName: json_.containsKey('customDimensionName')
            ? json_['customDimensionName'] as core.String
            : null,
        customMetricName: json_.containsKey('customMetricName')
            ? json_['customMetricName'] as core.String
            : null,
        endDate: json_.containsKey('endDate')
            ? json_['endDate'] as core.String
            : null,
        groupByColumn: json_.containsKey('groupByColumn')
            ? json_['groupByColumn'] as core.bool
            : null,
        headerText: json_.containsKey('headerText')
            ? json_['headerText'] as core.String
            : null,
        platformSource: json_.containsKey('platformSource')
            ? json_['platformSource'] as core.String
            : null,
        productReportPerspective:
            json_.containsKey('productReportPerspective')
                ? json_['productReportPerspective'] as core.String
                : null,
        savedColumnName: json_.containsKey('savedColumnName')
            ? json_['savedColumnName'] as core.String
            : null,
        startDate: json_.containsKey('startDate')
            ? json_['startDate'] as core.String
            : null,
      );