toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (description != null) 'description': description!,
      if (imageItem != null) 'imageItem': imageItem!,
      if (itemId != null) 'itemId': itemId!,
      if (pageBreakItem != null) 'pageBreakItem': pageBreakItem!,
      if (questionGroupItem != null) 'questionGroupItem': questionGroupItem!,
      if (questionItem != null) 'questionItem': questionItem!,
      if (textItem != null) 'textItem': textItem!,
      if (title != null) 'title': title!,
      if (videoItem != null) 'videoItem': videoItem!,
    };