toJson method
Implementation
core.Map<core.String, core.dynamic> toJson() {
final disabled = this.disabled;
final onClick = this.onClick;
final startIcon = this.startIcon;
final text = this.text;
return {
'disabled': ?disabled,
'onClick': ?onClick,
'startIcon': ?startIcon,
'text': ?text,
};
}