toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (buttonList != null) 'buttonList': buttonList!,
      if (dateTimePicker != null) 'dateTimePicker': dateTimePicker!,
      if (decoratedText != null) 'decoratedText': decoratedText!,
      if (image != null) 'image': image!,
      if (selectionInput != null) 'selectionInput': selectionInput!,
      if (textInput != null) 'textInput': textInput!,
      if (textParagraph != null) 'textParagraph': textParagraph!,
    };