videos property

List<YoutubeVideo> get videos

Implementation

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