Inbox class

An Inbox class.

Has countTotal - total number of messages in Inbox for the user with externalUserId, countUnread - total number of unread messages, and messages - List of InboxMessage messages.

Constructors

Inbox.new({List<InboxMessage>? messages, int? countTotal, int? countUnread})
Default constructor.
Inbox.fromJson(Map<String, dynamic> json)
Resolving Inbox from json.

Properties

countTotal int?
Total number of Inbox messages for the user.
final
countUnread int?
Number of unread messages.
final
hashCode int
The hash code for this object.
no setterinherited
messages List<InboxMessage>?
List of InboxMessage messages.
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