RootProvider<Created, Listened> constructor

RootProvider<Created, Listened>(
  1. String? name
)

A base class for non-scoped providers.

By making typing a parameter as RootProvider instead of ProviderBase, this excludes ScopedProvider – which may not be supported by your code due to its particular behavior.

Implementation

RootProvider(String? name) : super(name);