ShellScripts constructor

const ShellScripts({
  1. required String scriptsPath,
  2. bool enableParameters = true,
  3. String methodPrefix = 'get',
})

Creates a ShellScripts annotation.

scriptsPath specifies the path to the shell scripts directory, which is resolved as a package asset path. enableParameters determines whether method parameters are enabled. Defaults to true. methodPrefix sets the prefix for generated method names. Defaults to 'get'.

Implementation

const ShellScripts({
  required this.scriptsPath,
  this.enableParameters = true,
  this.methodPrefix = 'get',
});