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