toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (description1 != null) 'description1': description1!,
      if (description2 != null) 'description2': description2!,
      if (headline != null) 'headline': headline!,
      if (thumbnail != null) 'thumbnail': thumbnail!,
      if (video != null) 'video': video!,
    };