register method

void register(
  1. Pluggable plugin
)

Register a single plugin

Implementation

void register(Pluggable plugin) {
  if (plugin.name.isEmpty) {
    return;
  }
  _pluginsMap[plugin.name] = plugin;
}