channelLinks property

List<YoutubeChannelLinks> get channelLinks

Implementation

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