toMap method

Map<String, dynamic> toMap()

Implementation

Map<String, dynamic> toMap() => {
      'videoId': videoId ?? null,
      'title': title ?? null,
      'author_name': authorName ?? null,
      'author_url': authorUrl ?? null,
      'durationSeconds': durationSeconds ?? null,
      'keywords': keywords ?? null,
      'averageRating': averageRating ?? null,
      'viewCount': viewCount ?? null,
      'type': type ?? null,
      'height': height ?? null,
      'width': width ?? null,
      'version': version ?? null,
      'thumbnail_height': thumbnailHeight ?? null,
      'thumbnail_width': thumbnailWidth ?? null,
      'thumbnail_url': thumbnailUrl ?? null,
      'html': html ?? null,
      'url': url ?? null,
      'description': description ?? null,
      'fullDescription': fullDescription ?? null,
    };