toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (annotations != null) 'annotations': annotations!,
      if (imagePayload != null) 'imagePayload': imagePayload!,
      if (name != null) 'name': name!,
      if (textPayload != null) 'textPayload': textPayload!,
      if (videoPayload != null) 'videoPayload': videoPayload!,
    };