toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final aggregatorType = this.aggregatorType;
  final aggregators = this.aggregators;
  final attributeName = this.attributeName;
  final filters = this.filters;
  final typeName = this.typeName;
  final values = this.values;
  return {
    if (aggregatorType != null) 'AggregatorType': aggregatorType,
    if (aggregators != null) 'Aggregators': aggregators,
    if (attributeName != null) 'AttributeName': attributeName,
    if (filters != null) 'Filters': filters,
    if (typeName != null) 'TypeName': typeName,
    if (values != null) 'Values': values,
  };
}