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