Row.fromJson constructor

Row.fromJson(
  1. Map json_
)

Implementation

Row.fromJson(core.Map json_)
    : this(
        dimensionValues: json_.containsKey('dimensionValues')
            ? (json_['dimensionValues'] as core.List)
                .map((value) => DimensionValue.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
        metricValues: json_.containsKey('metricValues')
            ? (json_['metricValues'] as core.List)
                .map((value) => MetricValue.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
      );