toJson method

Map<String, dynamic> toJson()

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