getPlugins method
Implementation
List<Plugin> getPlugins(PluginType? ofType) {
if (ofType != null) {
return [...(_plugins[ofType] ?? [])];
}
return ([
...getPlugins(PluginType.before),
...getPlugins(PluginType.enrichment),
...getPlugins(PluginType.utility),
...getPlugins(PluginType.destination),
...getPlugins(PluginType.after),
]);
}