streams property

Implementation

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