AggregateResponse.fromJson constructor

AggregateResponse.fromJson(
  1. Map json_
)

Implementation

AggregateResponse.fromJson(core.Map json_)
    : this(
        bucket: json_.containsKey('bucket')
            ? (json_['bucket'] as core.List)
                .map((value) => AggregateBucket.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
      );