AggregateQueryResponse.fromJson constructor

AggregateQueryResponse.fromJson(
  1. Map<String, Object?> json
)

Implementation

factory AggregateQueryResponse.fromJson(Map<String, Object?> json) =>
    AggregateQueryResponse(
      data: (json['data'] as Map).cast<String, num?>().map(
        (key, value) => MapEntry(key, value?.toDouble()),
      ),
    );