FeedReadState enum
Type-safe enum for filtering feed items by read state in
NotificationFeedRequestBuilder.setReadState().
Android Reference: com.cometchat.chat.enums.FeedReadState
Used to configure the read state filter when fetching notification feed items.
Values
- read → const FeedReadState
-
Filter for read items only. Android:
READ("read")const FeedReadState('read') - unread → const FeedReadState
-
Filter for unread items only. Android:
UNREAD("unread")const FeedReadState('unread') - all → const FeedReadState
-
No filter — return all items regardless of read state. Android:
ALL("all")const FeedReadState('all')
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- index → int
-
A numeric identifier for the enumerated value.
no setterinherited
- name → String
-
Available on Enum, provided by the EnumName extension
The name of the enum value.no setter - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- value → String
-
The string value used for serialization to query parameters.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
fromValue(
String? value) → FeedReadState? - Returns the enum value for the given string, or null if not found.
Constants
-
values
→ const List<
FeedReadState> - A constant List of the values in this enum, in order of their declaration.