@override Future flush() async { if (_destroyed) { return; } _flushPolicyExecuter.reset(); await Future.wait(getPluginsWithFlush(_timeline).map((plugin) => plugin.flush())); }