NIMMessagePin class Null safety

Message PIN

Annotations
  • @JsonSerializable()

Constructors

NIMMessagePin({required String sessionId, required NIMSessionType sessionType, String? messageFromAccount, String? messageToAccount, String? messageUuid, String? messageId, String? pinId, int? messageServerId, String? pinOperatorAccount, String? pinExt, int pinCreateTime = 0, int pinUpdateTime = 0})
NIMMessagePin.fromMap(Map<String, dynamic> map)
factory

Properties

hashCode int
The hash code for this object.
read-only, inherited
messageFromAccount String?
Sender account
final
messageId String?
The time when a message was sent Unique message identifier, valid on iOS
@JsonKey(defaultValue: '-1'), final
messageServerId int?
Message ServerID
final
messageToAccount String?
Recipient account
final
messageUuid String?
Message uuid, valid on Android, Windows, and macOS.
final
pinCreateTime int
Get the creation time of a bookmark. Unit: seconds
final
pinExt String?
Extension field that can contain up to 512 characters
final
pinId String?
Unique identifier for PIN messages, valid on Windows and macOS
@JsonKey(defaultValue: '-1'), final
pinOperatorAccount String?
Operator account. The current logged in account is used if unspecified
final
pinUpdateTime int
Get the update time of a bookmark. Unit: seconds
final
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
sessionId String
Session ID
final
sessionType NIMSessionType
Session types
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
toMap() Map<String, dynamic>
toString() String
A string representation of this object.
override

Operators

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