flush method

Object? flush()

Immediately invokes all the remaining delayed functions.

Implementation

Object? flush() {
  final now = DateTime.now().millisecondsSinceEpoch;
  return _timer == null ? _result : _trailingEdge(now);
}