toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (description != null) 'description': description!,
      if (elementGroup != null) 'elementGroup': elementGroup!,
      if (image != null) 'image': image!,
      if (line != null) 'line': line!,
      if (objectId != null) 'objectId': objectId!,
      if (shape != null) 'shape': shape!,
      if (sheetsChart != null) 'sheetsChart': sheetsChart!,
      if (size != null) 'size': size!,
      if (speakerSpotlight != null) 'speakerSpotlight': speakerSpotlight!,
      if (table != null) 'table': table!,
      if (title != null) 'title': title!,
      if (transform != null) 'transform': transform!,
      if (video != null) 'video': video!,
      if (wordArt != null) 'wordArt': wordArt!,
    };