unregister method

bool unregister(
  1. String name
)

Implementation

bool unregister(String name) {
  final plugin = _plugins.remove(name);
  if (plugin == null) return false;
  _order.remove(name);
  plugin.onDestroy();
  return true;
}