findPluginName function consumer producer

String findPluginName(
  1. String pathToRoot
)

Find plugin name in root/pubspec.yaml.

Returns value of element name.

Implementation

String findPluginName(String pathToRoot) =>
    pathToRoot.verifyExists.toPubspecYaml.pluginName;