getTotalUnreadChannelCountWithParams method Null safety

Future<int> getTotalUnreadChannelCountWithParams(
  1. GroupChannelTotalUnreadChannelCountParams params
)

Returns total number of group channels that contains unread messages with given params.

Implementation

Future<int> getTotalUnreadChannelCountWithParams(
    GroupChannelTotalUnreadChannelCountParams params) async {
  return _int.api
      .send<int>(UserTotalUnreadChannelCountGetRequest(params: params));
}