getTotalUnreadMessageCountWithParams method Null safety

Future<int> getTotalUnreadMessageCountWithParams(
  1. GroupChannelTotalUnreadMessageCountParams params
)

Returns total number of unread messages with given params.

Implementation

Future<int> getTotalUnreadMessageCountWithParams(
    GroupChannelTotalUnreadMessageCountParams params) async {
  return _int.api
      .send<int>(UserTotalUnreadMessageCountGetRequest(params: params));
}