Aggregation.fromJson constructor

Aggregation.fromJson(
  1. Map json_
)

Implementation

Aggregation.fromJson(core.Map json_)
    : this(
        alignmentPeriod: json_.containsKey('alignmentPeriod')
            ? json_['alignmentPeriod'] as core.String
            : null,
        crossSeriesReducer: json_.containsKey('crossSeriesReducer')
            ? json_['crossSeriesReducer'] as core.String
            : null,
        groupByFields: json_.containsKey('groupByFields')
            ? (json_['groupByFields'] as core.List)
                .map((value) => value as core.String)
                .toList()
            : null,
        perSeriesAligner: json_.containsKey('perSeriesAligner')
            ? json_['perSeriesAligner'] as core.String
            : null,
      );