toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final json = <String, dynamic>{};
    json[r'query'] = this.query;
    json[r'resourceName'] = this.resourceName;
    json[r'groupBy'] = this.groupBy;
    json[r'operations'] = this.operations;
  if (this.sort != null) {
    json[r'sort'] = this.sort;
  } else {
    json[r'sort'] = null;
  }
  return json;
}