MagicArtisanProvider class

Contributes magic:* (and make:* / key:generate) commands to the artisan dispatcher.

Host integration:

// lib/config/app.dart
final appConfig = {
  'artisan': {
    'providers': [MagicArtisanProvider.new],
  },
};

Ships the magic code-gen surface: 20 make:* generators + previews:refresh

  • design:sync + design:lint + magic:install + key:generate.

Constructors

MagicArtisanProvider()

Properties

hashCode → int
The hash code for this object.
no setterinherited
providerName → String
Human-readable provider name (used in collision error messages). Defaults to the runtime class name.
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

commands() → List<ArtisanCommand>
Returns the commands this provider contributes to the application.
mcpTools() → List<McpToolDescriptor>
Returns the MCP tool descriptors this provider contributes.
inherited
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