ColumnHeader.fromJson constructor

ColumnHeader.fromJson(
  1. Map json_
)

Implementation

ColumnHeader.fromJson(core.Map json_)
    : this(
        dimensions: json_.containsKey('dimensions')
            ? (json_['dimensions'] as core.List)
                .map((value) => value as core.String)
                .toList()
            : null,
        metricHeader: json_.containsKey('metricHeader')
            ? MetricHeader.fromJson(
                json_['metricHeader'] as core.Map<core.String, core.dynamic>)
            : null,
      );