MyEventRepeat_c class

Constructors

MyEventRepeat_c({int repeatLimitNum = 2, required Duration duration, required Future<void> onListen()})
重复时触发

Properties

duration Duration
通知一次后的记录时长
final
hashCode int
The hash code for this object.
no setterinherited
isRunning bool
no setter
onListen Future<void> Function()
final
repeatLimitNum int
final
repeatNum int
记录当前时间段内通知次数
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
timer Timer?
是否已经进入时间段
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
notify() Future<bool>
返回是否触发执行
toString() String
A string representation of this object.
inherited

Operators

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