NIMMessagePin class Null safety
消息PIN
- Annotations
Constructors
- NIMMessagePin({required String sessionId, required NIMSessionType sessionType, String? messageFromAccount, String? messageToAccount, String? messageUuid, String? messageId, 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?
-
消息发送方帐号
final
- messageId → String?
-
消息发送时间
消息ID,唯一标识,iOS 可用
@JsonKey(defaultValue: '-1'), final
- messageServerId → int?
-
消息 ServerID
final
- messageToAccount → String?
-
消息接收方账号
final
- messageUuid → String?
-
消息 uuid ,Android 可用
final
- pinCreateTime → int
-
创建时间,单位为秒
final
- pinExt → String?
-
扩展字段,string,最大512
final
- pinOperatorAccount → String?
-
操作者账号,不传表示当前登录者
final
- pinUpdateTime → int
-
更新时间,单位为 秒
final
- runtimeType → Type
-
A representation of the runtime type of the object.
read-only, inherited
- sessionId → String
-
会话ID
final
- sessionType → NIMSessionType
-
会话类型
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