Map<String, Object?> toJson() { var type = this.type; var values = this.values; final json = <String, Object?>{}; json[r'type'] = type; json[r'values'] = values; return json; }