Session class

聊天会话

Constructors

Session.fromTeamShip(TeamShip teamship, Team team)
factory
Session.fromUserShip(UserShip usership, User user)
factory

Properties

active int
对话激活时间
no setter
alias String
好友备注名 或 群昵称
no setter
apply String
申请描述
no setter
bsid → dynamic
商户id
no setter
dialog bool
是否处于对话状态
no setter
extra DbJsonWraper
自定义数据
no setter
fid → dynamic
关系来源id(用户id或群组id)
no setter
from int
关系来源
no setter
hashCode int
The hash code for this object.
no setterinherited
id → dynamic
唯一id
no setter
msgasync int
消息加载序号
getter/setter pair
msgcache List<Message>
消息缓存列表
no setter
msgfrom int
消息发送来源
no setter
notice bool
消息是否显示通知
no setter
recent String
最近消息缩写
no setter
rid → dynamic
关联目标id(用户id或群组id)
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sid → dynamic
会话id
no setter
state int
关系状态
no setter
team Team
no setter
teamship TeamShip
no setter
time int
创建时间
no setter
top bool
是否置顶聊天
no setter
uid → dynamic
用户id
no setter
unread int
未读消息数量
no setter
update int
最近消息时间
no setter
user User
no setter
usership UserShip
no setter

Methods

getChatTitle({required dynamic self}) String
消息聊天标题
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