markAsRead method Null safety
Mark list of group channels with channelUrls
as read.
Implementation
Future<void> markAsRead({required List<String> channelUrls}) async {
if (channelUrls.isEmpty) throw InvalidParameterError();
await _int.api.send(GroupChannelMarkAsReadApiRequest(
channelUrls: channelUrls,
userId: _int.state.userId,
));
}