Inbox class
An Inbox class.
Has countTotal - total number of messages in Inbox for the externalUserId, countUnread - total number of unread messages, and messages - List of Inbox messages.
Constructors
-
Inbox({List<
InboxMessage> ? messages, int? countTotal, int? countUnread}) -
Inbox.fromJson(Map<
String, dynamic> json)
Properties
- countTotal → int?
-
final
- countUnread → int?
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
messages
→ List<
InboxMessage> ? -
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
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
-
resolveLists(
List? messages) → List< InboxMessage> ?