toJson method
Implementation
Map<String, Object?> toJson() {
var fieldId = this.fieldId;
var label = this.label;
var renderedValue = this.renderedValue;
var value = this.value;
final json = <String, Object?>{};
if (fieldId != null) {
json[r'fieldId'] = fieldId;
}
if (label != null) {
json[r'label'] = label;
}
if (renderedValue != null) {
json[r'renderedValue'] = renderedValue;
}
if (value != null) {
json[r'value'] = value;
}
return json;
}