toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (imageAltText != null) 'imageAltText': imageAltText!,
      if (imageType != null) 'imageType': imageType!,
      if (imageUrl != null) 'imageUrl': imageUrl!,
      if (subtitle != null) 'subtitle': subtitle!,
      if (title != null) 'title': title!,
    };