toJson method
Implementation
core.Map<core.String, core.dynamic> toJson() {
final bottomLabel = this.bottomLabel;
final bottomLabelText = this.bottomLabelText;
final button = this.button;
final contentText = this.contentText;
final endIcon = this.endIcon;
final icon = this.icon;
final onClick = this.onClick;
final startIcon = this.startIcon;
final startIconVerticalAlignment = this.startIconVerticalAlignment;
final switchControl = this.switchControl;
final text = this.text;
final topLabel = this.topLabel;
final topLabelText = this.topLabelText;
final wrapText = this.wrapText;
return {
'bottomLabel': ?bottomLabel,
'bottomLabelText': ?bottomLabelText,
'button': ?button,
'contentText': ?contentText,
'endIcon': ?endIcon,
'icon': ?icon,
'onClick': ?onClick,
'startIcon': ?startIcon,
'startIconVerticalAlignment': ?startIconVerticalAlignment,
'switchControl': ?switchControl,
'text': ?text,
'topLabel': ?topLabel,
'topLabelText': ?topLabelText,
'wrapText': ?wrapText,
};
}