GroupChannelCountReferenceRequest constructor
GroupChannelCountReferenceRequest({
- required String channelUrl,
- required CountPreference prefs,
- String? userId,
Implementation
GroupChannelCountReferenceRequest(
{required String channelUrl,
required CountPreference prefs,
String? userId})
: super(userId: userId) {
url = 'users/${userId ?? state.userId}/count_preference/$channelUrl';
body = {'count_preference': countPreferenceEnumMap[prefs]};
}