toMap method

Map<String, dynamic> toMap()

Implementation

Map<String, dynamic> toMap() => {
      "title": title == null ? null : title,
      "author_name": authorName == null ? null : authorName,
      "author_url": authorUrl == null ? null : authorUrl,
      "type": type == null ? null : type,
      "height": height == null ? null : height,
      "width": width == null ? null : width,
      "version": version == null ? null : version,
      "provider_name": providerName == null ? null : providerName,
      "provider_url": providerUrl == null ? null : providerUrl,
      "thumbnail_height": thumbnailHeight == null ? null : thumbnailHeight,
      "thumbnail_width": thumbnailWidth == null ? null : thumbnailWidth,
      "thumbnail_url": thumbnailUrl == null ? null : thumbnailUrl,
      "html": html == null ? null : html,
      "url": url == null ? null : url,
      "description": description == null ? null : description,
    };