toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (description != null) 'description': description!,
      if (embeddedDrawingProperties != null)
        'embeddedDrawingProperties': embeddedDrawingProperties!,
      if (embeddedObjectBorder != null)
        'embeddedObjectBorder': embeddedObjectBorder!,
      if (imageProperties != null) 'imageProperties': imageProperties!,
      if (linkedContentReference != null)
        'linkedContentReference': linkedContentReference!,
      if (marginBottom != null) 'marginBottom': marginBottom!,
      if (marginLeft != null) 'marginLeft': marginLeft!,
      if (marginRight != null) 'marginRight': marginRight!,
      if (marginTop != null) 'marginTop': marginTop!,
      if (size != null) 'size': size!,
      if (title != null) 'title': title!,
    };