pluginName method

  1. @override
String pluginName(
  1. ArtisanContext ctx
)

Identifier of the plugin this install command targets.

Threaded into PluginInstaller and through to the .artisan/installed/<pluginName>.json record path. Subclasses MUST override, the abstract contract prevents accidental cross-plugin record-file collisions when a copy-pasted command forgets to flip the name.

@param ctx The active ArtisanContext handed to handle. @return The plugin pubspec package name.

Implementation

@override
String pluginName(ArtisanContext ctx) => 'magic_deeplink';