thumbnails property

List<YoutubeChannelThumbnails> get thumbnails

Implementation

List<YoutubeChannelThumbnails> get thumbnails {
  try {
    if (rawData["thumbnails"] is List == false) {
      return [];
    }
    return (rawData["thumbnails"] as List)
        .map((e) => YoutubeChannelThumbnails(e as Map))
        .toList()
        .cast<YoutubeChannelThumbnails>();
  } catch (e) {
    return [];
  }
}