toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (checkboxInputValue != null)
        'checkboxInputValue': checkboxInputValue!,
      if (choiceInputValue != null) 'choiceInputValue': choiceInputValue!,
      if (inputFieldId != null) 'inputFieldId': inputFieldId!,
      if (textInputValue != null) 'textInputValue': textInputValue!,
    };