TotalScheduledMessageCountParams constructor Null safety
- {String? channelUrl,
- ChannelType? channelType,
- String? senderId,
- List<
ScheduledStatus> ? statuses, - MessageTypeFilter? messageType}
Implementation
TotalScheduledMessageCountParams({
this.channelUrl,
this.channelType,
this.senderId,
this.statuses,
this.messageType,
}) {
if (channelType != ChannelType.group) {
throw (SBError(message: 'Channel Type Group is ONLY allowed'));
}
}