NotificationsQuery class

Query to get notifications.

Inheritance

Constructors

NotificationsQuery()

Properties

actions List<String>
Actions, check NotificationType for possible values.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
statuses List<String>
Statuses, check NotificationStatus for possible values.
getter/setter pair
types List<String>
Types, check NotificationType for possible values.
getter/setter pair

Methods

appendAction(String action) NotificationsQuery
Append action to query.
appendStatus(String status) NotificationsQuery
Append status to query.
appendType(String type) NotificationsQuery
Append type to query.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJSON() Map<String, dynamic>
override
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

withAllStatuses() NotificationsQuery
Create query to get notifications with any statuses.
withStatuses(List<String> statuses) NotificationsQuery
Create query to get notifications with specified statuses.