getChannels static method
Implementation
static Future<bool> getChannels(
TPChannel? lastChannel,
Function(List<TPChannel>, bool) successCallback,
{
Function(int? errorCode, String? errorMessage)? errorCallback
}) async
{
final params = TPChannelQueryParams();
params.lastChannel = lastChannel;
return _filterChannels(params,
false,
successCallback,
errorCallback: errorCallback);
}