NoticeListener class

通知监听

Constructors

NoticeListener({required Future<bool> onReadMsg(ReadContent readContent), required Future<bool> onEditMsg(MsgModel msgModel), required Future<bool> onReceive(NoticeModel noticeModel)})

Properties

hashCode int
The hash code for this object.
no setterinherited
onEditMsg Future<bool> Function(MsgModel msgModel)
final
onReadMsg Future<bool> Function(ReadContent readContent)
final
onReceive Future<bool> Function(NoticeModel noticeModel)
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

editMsg(MsgModel msgModel) Future<bool>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
readMsg(ReadContent readContent) Future<bool>
receive(NoticeModel noticeModel) Future<bool>
toString() String
A string representation of this object.
inherited

Operators

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