enums library Null safety

Extensions

ChannelTypeExtension
EnumTransform
IncludeOptionList

Constants

countPreferenceEnumMap → const Map<CountPreference, String>
const <CountPreference, String>{CountPreference.all : 'all', CountPreference.messageOnly : 'unread_message_count_only', CountPreference.mentionOnly : 'unread_mention_count_on…
groupChannelListOrderEnumMap → const Map<GroupChannelListOrder, String>
const <GroupChannelListOrder, String>{GroupChannelListOrder.chronological : 'chronological', GroupChannelListOrder.latestLastMessage : 'latest_last_message', GroupChannelListOrde…
groupChannelListQuerySearchFieldEnumMap → const Map<GroupChannelListQuerySearchField, String>
const <GroupChannelListQuerySearchField, String>{GroupChannelListQuerySearchField.memberNickname : 'member_nick_name', GroupChannelListQuerySearchField.channelName : 'channel_name…
groupChannelPublicFilterEnumMap → const Map<PublicChannelFilter, String>
const <PublicChannelFilter, String>{PublicChannelFilter.all : 'all', PublicChannelFilter.public : 'public', PublicChannelFilter.private : 'private'}
groupChannelPushTriggerOptionEnumMap → const Map<GroupChannelPushTriggerOption, String>
const <GroupChannelPushTriggerOption, String>{GroupChannelPushTriggerOption.global : 'default', GroupChannelPushTriggerOption.all : 'all', GroupChannelPushTriggerOption.off : …
groupChannelSuperFilterEnumMap → const Map<SuperChannelFilter, String>
const <SuperChannelFilter, String>{SuperChannelFilter.all : 'all', SuperChannelFilter.superChannel : 'super', SuperChannelFilter.nonsuperChannel : 'nonsuper'}
memberListOrderEnumMap → const Map<MemberListOrder, String>
const <MemberListOrder, String>{MemberListOrder.nicknameAlphabetical : 'member_nickname_alphabetical', MemberListOrder.operatorThenMemberNicknameAlphabetical : 'operator_then_member_…
memberStateFilterEnumMap → const Map<MemberStateFilter, String>
const <MemberStateFilter, String>{MemberStateFilter.all : 'all', MemberStateFilter.invited : 'invited', MemberStateFilter.joined : 'joined', MemberStateFilter.invitedByFr…
messageSearchQueryOrderEnumMap → const Map<MessageSearchQueryOrder, String>
const <MessageSearchQueryOrder, String>{MessageSearchQueryOrder.score : 'score', MessageSearchQueryOrder.timestamp : 'ts'}
mutedMemberFilterEnumMap → const Map<MutedMemberFilter, String>
const <MutedMemberFilter, String>{MutedMemberFilter.all : 'all', MutedMemberFilter.muted : 'muted', MutedMemberFilter.unmuted : 'unmuted'}
operatorFilterEnumMap → const Map<OperatorFilter, String>
const <OperatorFilter, String>{OperatorFilter.all : 'all', OperatorFilter.operator : 'operator', OperatorFilter.nonOperator : 'nonoperator'}
publicGroupChannelListOrderEnumMap → const Map<PublicGroupChannelListOrder, String>
const <PublicGroupChannelListOrder, String>{PublicGroupChannelListOrder.chronological : 'chronological', PublicGroupChannelListOrder.channelNameAlphabetical : 'channel_name_alphabeti…
pushTriggerOptionEnumMap → const Map<PushTriggerOption, String>
const <PushTriggerOption, String>{PushTriggerOption.all : 'all', PushTriggerOption.off : 'off', PushTriggerOption.mentionOnly : 'mention_only'}
unreadItemKeyEnumMap → const Map<UnreadItemKey, String>
const <UnreadItemKey, String>{UnreadItemKey.nonSuperGroupChannelUnreadMessageCount : 'non_super_group_channel_unread_message_count', UnreadItemKey.superGroupChannelUnreadMessageCount : &…

Functions

channelEventValueOf(int value) ChannelEventCategory
enumDecode<T>(Map<T, dynamic> enumValues, dynamic source, {required T unknownValue}) → T
stringFromSearchFields(List<GroupChannelListQuerySearchField> fields) List<String>
userEventValueOf(int value) UserEventCategory

Enums

ChannelEventCategory
Represents channel event that comes from socket
ChannelHiddenStateFilter
Represents a filter for channel's visibility state
ChannelQueryIncludeOption
Represents option to filter channel
ChannelType
Represents the type of channel
ConnectionEventType
Represents sdk's connection event
ConnectionState
Represents sdk's connection status
CountPreference
Represents user's message count filter
GroupChannelHiddenState
Represents channel's visibility state
GroupChannelListOrder
Represents result order of group channel query
GroupChannelListQuerySearchField
Represents group channel search field
GroupChannelListQueryType
Defines query operational type
GroupChannelPushTriggerOption
Represents push trigger option for a group channel
LogLevel
Defines levels of logging level
MemberListOrder
MemberState
Represents member state for user in a channel
MemberStateFilter
Represents a filter for member state
MentionType
Represents message's mention type
MessageQueryIncludeOption
MessageSearchQueryOrder
Represents result order for message search
MessageSendingStatus
Represents message's sending status
MessageTypeFilter
Represents a filter for message type
MetaArrayUpdateMode
Represents meta array update mode
MetaCounterMode
Represents meta counter operation mode
MutedMemberFilter
MuteState
Represents user's mute state in a channel
OperatorFilter
PublicChannelFilter
Represents a filter for group channel visibilty
PublicGroupChannelListOrder
Represents result order of public group channel query
PublicGroupChannelMembershipFilter
Represents a filter for public group channel member state
PushNotificationDeliveryOption
Represents push notification delivery option
PushTokenRegistrationStatus
Represents push registration status
PushTokenType
Represents push token type
PushTriggerOption
Represents global push trigger option
ReactionEventAction
Represents reaction's operation event
ReportCategory
Defines reporting category
Role
Represents role for user in a channel
ScheduledUserMessageStatus
Represents scheduled user message status
SuperChannelFilter
Represents a filter for super group channel
UnreadChannelFilter
Represents a filter for unread channel
UnreadItemKey
Represents unread item key filter
UserConnectionStatus
UserEventCategory
Represents user event that comes from socket
UserListQueryType
Represents a filter for user list query