toJson method

Map<String, dynamic> toJson()

Implementation

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