PluginSetupDescriptor class

Describes a plugin's setup requirements declaratively.

Plugins declare auth, pairing, and configuration steps in their manifest instead of requiring core hardcoded special cases.

Constructors

PluginSetupDescriptor({required String pluginId, required String displayName, List<PluginSetupStep> steps = const [], List<String> providerIds = const [], List<String> cliBackendIds = const [], List<String> dependsOn = const [], bool hotReloadable = false})
const

Properties

cliBackendIds → List<String>
CLI backend IDs this plugin registers.
final
dependsOn → List<String>
Dependencies on other plugins (by ID).
final
displayName → String
Human-readable display name.
final
hashCode → int
The hash code for this object.
no setterinherited
hotReloadable → bool
Whether this plugin can be hot-reloaded.
final
pluginId → String
Unique plugin identifier.
final
providerIds → List<String>
Provider IDs this plugin registers.
final
requiresAuth → bool
no setter
requiresPairing → bool
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
steps → List<PluginSetupStep>
Setup steps required for activation.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited