HMSMessageRecipient class

100ms HMSMessageRecipient

HMSMessageRecipient contains the value of recipient PeerHMSPeer,list of recipient RolesHMSRole and Message Recipient TypeHMSMessageRecipientType.

Refer chat guide here

Constructors

HMSMessageRecipient({required HMSPeer? recipientPeer, required List<HMSRole>? recipientRoles, required HMSMessageRecipientType hmsMessageRecipientType})
HMSMessageRecipient.fromMap(Map map)
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
hmsMessageRecipientType HMSMessageRecipientType
getter/setter pair
recipientPeer HMSPeer?
getter/setter pair
recipientRoles List<HMSRole>?
getter/setter pair
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
toMap() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

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

Static Methods

getRoles(List list) List<HMSRole>