factory AggregateQueryRequest.fromJson(Map<String, Object?> json) => AggregateQueryRequest( params: (json['params'] as Map).cast<String, Object?>(), );