get method
Gets the metadata associated with the specified channel.
id
must be either a ChannelId or a string
which is parsed to a ChannelId
Implementation
Future<Channel> get(dynamic id) async {
id = ChannelId.fromString(id);
var channelPage = await ChannelPage.get(_httpClient, id.value);
return Channel(
id,
channelPage.channelTitle,
channelPage.channelLogoUrl,
channelPage.channelBannerUrl,
channelPage.subscribersCount,
);
}