flush method

  1. @override
Future flush()
override

Implementation

@override
Future flush() async {
  if (_destroyed) {
    return;
  }

  _flushPolicyExecuter.reset();

  await Future.wait(getPluginsWithFlush(_timeline).map((plugin) => plugin.flush()));
}