toJson method
Implementation
Map<String, dynamic> toJson() {
final json = <String, dynamic>{};
if (this.blind != null) {
json[r'blind'] = this.blind;
} else {
json[r'blind'] = null;
}
if (this.citation != null) {
json[r'citation'] = this.citation;
} else {
json[r'citation'] = null;
}
if (this.indicator != null) {
json[r'indicator'] = this.indicator;
} else {
json[r'indicator'] = null;
}
if (this.name != null) {
json[r'name'] = this.name;
} else {
json[r'name'] = null;
}
if (this.neutral != null) {
json[r'neutral'] = this.neutral;
} else {
json[r'neutral'] = null;
}
if (this.severity != null) {
json[r'severity'] = this.severity;
} else {
json[r'severity'] = null;
}
if (this.typology != null) {
json[r'typology'] = this.typology;
} else {
json[r'typology'] = null;
}
if (this.unit != null) {
json[r'unit'] = this.unit;
} else {
json[r'unit'] = null;
}
if (this.window != null) {
json[r'window'] = this.window;
} else {
json[r'window'] = null;
}
return json;
}