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