getPluginsWithFlush function
Implementation
List<Flushable> getPluginsWithFlush(Timeline timeline) {
List<Flushable> flushablePlugins = [];
timeline._plugins.forEach((key, plugins) {
for (var plugin in plugins) {
if (plugin is Flushable) {
flushablePlugins.add(plugin as Flushable);
}
}
});
return flushablePlugins;
}