Creates a new DelayedCall.
The action
function will be called after the specified delay
(in
seconds).
The optional repeatCount
specifies the number of times the delayed call
should be executed.
Source
DelayedCall(Function action, num delay, {int repeatCount: 1}) : _action = action, _repeatCount = repeatCount { _totalTime = max(delay, 0.0001); }