channel method
Implementation
Future<List<ApiResult>> channel(String channelId, {Order? order}) async {
final url = _getSearchInChannelUri(channelId, order);
var res = await http.get(url, headers: headers);
var jsonData = json.decode(res.body);
if (jsonData['error'] != null) {
throw jsonData['error']['message'];
}
if (jsonData['pageInfo']['totalResults'] == null) return <ApiResult>[];
return _getResultsFromJson(jsonData, newPage: 1);
}