GroupChannelMarkAsReadApiRequest constructor
Implementation
GroupChannelMarkAsReadApiRequest({
List<String>? channelUrls,
String? userId,
}) : super(userId: userId) {
url = 'users/${userId ?? state.userId}/mark_as_read_all';
body = {
if (channelUrls != null && channelUrls.isNotEmpty)
'channel_urls': channelUrls,
};
}