toJson method
Implementation
core.Map<core.String, core.dynamic> toJson() => {
if (controlType != null) 'controlType': controlType!,
if (name != null) 'name': name!,
if (onChangeAction != null) 'onChangeAction': onChangeAction!,
if (selected != null) 'selected': selected!,
if (value != null) 'value': value!,
};