PocChangeNotifier class

poc*

Inheritance

Constructors

PocChangeNotifier()

Properties

account String
no setter
activeGroupId int
no setter
activeGroupName String
no setter
checkedUserIds List<int>
no setter
gpsInterval int
no setter
groups List
no setter
groupsMap Map
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
hasListeners bool
Whether any listeners are currently registered.
no setterinherited
hideTalker bool
no setter
id int
no setter
isOnline bool
no setter
isPlaying bool
no setter
isRecording bool
no setter
lastVoiceEnterGroupId int
no setter
location String
no setter
monitoredGroupIds List<int>
no setter
name String
no setter
offlineCode int
no setter
password String
no setter
privilege int
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
showGroup → dynamic
no setter
showGroupId int
no setter
speakingIdList List<int>
no setter
speakingName String
no setter
status int
no setter
usersMap Map
getter/setter pair

Methods

addListener(VoidCallback listener) → void
Register a closure to be called when the object changes.
inherited
dispose() → void
Discards any resources used by the object. After this is called, the object is not in a usable state and should be discarded (calls to addListener will throw after the object is disposed).
inherited
getGroup(int groupId) → dynamic
获取组
getUser(int userId) → dynamic
获取用户
hasTmpGroup() bool
init() → dynamic
isTmpGroup(int groupId) bool
isUserOnline(int id) bool
判断用户是否在线
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
notifyListeners() → void
Call all the registered listeners.
inherited
removeListener(VoidCallback listener) → void
Remove a previously registered closure from the list of closures that are notified when the object changes.
inherited
resetCheckedUserIds() → void
重置选择用户id集合
resetMonitoredGroupIds() → void
setAccount(String account) → void
设置账号*
setActiveGroupId(int activeGroupId) → void
设置当前组*
setCheckedUser(int id, bool checked) Future<void>
设置选择用户
setGpsInterval(int gpsInterval) → void
setGroupMonitor(int id, bool monitored) Future<void>
设置群组监听
setGroups(List groups) → void
设置群组*
setId(int id) → void
设置id*
setIsOnline(bool isOnline) → void
设置在线状态*
setIsPlaying(bool isPlaying) → void
设置播放状态*
setIsRecording(bool isRecording) → void
设置是否正在录音*
setLastVoiceEnterGroupId(int lastVoiceEnterGroupId) → void
setLocation(String value) → void
setName(String name) → void
设置名称
setOfflineCode(int offlineCode) → void
设置离线码*
setPassword(String password) → void
设置密码*
setPrivilege(int privilege) → void
设置权限*
setShowGroupId(int showGroupId) → void
设置当前显示群组id
setSpeaking(List<int> idList, String name, bool hideTalker) → void
设置正在讲话信息*
setStatus(int status) → void
设置状态*
toString() String
A string representation of this object.
inherited
updateCheckedUserIds() → void
更新选择用户id集合
updateGroupsMap() → void
updateShowGroup() → void
设置当前显示群组
updateShowGroupId() → void
更新显示群组id
updateUsersMap() → void

Operators

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

Static Properties

tag String
getter/setter pair