id property

Entity get id

Identifies this plugin within a host DI scope. Defaults to TypeEntity(runtimeType), so only one instance of a given Plugin subclass can be installed in the same scope at once. Override to support multiple coexisting variants (e.g. multiple ThemePlugins keyed by name).

Implementation

Entity get id => TypeEntity(runtimeType);