maybePlugin<T extends DevbarPlugin> method

T? maybePlugin<T extends DevbarPlugin>()

Implementation

T? maybePlugin<T extends DevbarPlugin>() {
  return _plugins.whereType<T>().firstOrNull;
}