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