toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final json = <String, dynamic>{};
    json[r'groups'] = this.groups;
  if (this.stringValue != null) {
    json[r'stringValue'] = this.stringValue;
  } else {
    json[r'stringValue'] = null;
  }
  if (this.numericValue != null) {
    json[r'numericValue'] = this.numericValue;
  } else {
    json[r'numericValue'] = null;
  }
  if (this.distinctCount != null) {
    json[r'distinctCount'] = this.distinctCount;
  } else {
    json[r'distinctCount'] = null;
  }
    json[r'distinctCounts'] = this.distinctCounts;
  return json;
}