getAboutPageByUsername method
Gets the info found on a YouTube Channel About page.
username
must be either a Username or a string
which is parsed to a Username
Implementation
Future<ChannelAbout> getAboutPageByUsername(dynamic username) async {
username = Username.fromString(username);
var page =
await ChannelAboutPage.getByUsername(_httpClient, username.value);
return ChannelAbout(
page.description,
page.viewCount,
page.joinDate,
page.title,
[
for (var e in page.avatar)
Thumbnail(Uri.parse(e['url']), e['height'], e['width'])
],
page.country,
page.channelLinks,
);
}