toJson method
Implementation
core.Map<core.String, core.dynamic> toJson() => {
if (checkboxInput != null) 'checkboxInput': checkboxInput!,
if (choiceInput != null) 'choiceInput': choiceInput!,
if (id != null) 'id': id!,
if (label != null) 'label': label!,
if (required != null) 'required': required!,
if (textInput != null) 'textInput': textInput!,
};