toJson method

Map<String, dynamic> toJson()

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!,
    };