XiaoMiPushPluginListener class

监听器对象

Constructors

XiaoMiPushPluginListener(MethodChannel channel)

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

addListener(ListenerValue func) → void
添加消息监听
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
removeListener(ListenerValue func) → void
移除消息监听
toString() String
A string representation of this object.
inherited

Operators

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

Static Properties

listeners Set<ListenerValue>
监听器列表
getter/setter pair