register method

Future register(
  1. Pluggable plugin
)

Register a single plugin

Implementation

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