getChannelStates abstract method

Future<List<ChannelState>> getChannelStates({
  1. Filter? filter,
  2. @Deprecated(''' sort has been deprecated. Please use channelStateSort instead.''') List<SortOption<ChannelModel>>? sort,
  3. List<SortOption<ChannelState>>? channelStateSort,
  4. PaginationParams? paginationParams,
})

Get all the stored ChannelStates

Optionally, pass filter, sort, paginationParams for filtering out states.

Implementation

Future<List<ChannelState>> getChannelStates({
  Filter? filter,
  @Deprecated('''
  sort has been deprecated.
  Please use channelStateSort instead.''') List<SortOption<ChannelModel>>? sort,
  List<SortOption<ChannelState>>? channelStateSort,
  PaginationParams? paginationParams,
});