PivotOrderBy.fromJson constructor

PivotOrderBy.fromJson(
  1. Map json_
)

Implementation

PivotOrderBy.fromJson(core.Map json_)
    : this(
        metricName: json_.containsKey('metricName')
            ? json_['metricName'] as core.String
            : null,
        pivotSelections: json_.containsKey('pivotSelections')
            ? (json_['pivotSelections'] as core.List)
                .map((value) => PivotSelection.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
      );