ShellScript constructor
const
ShellScript({
- required String fileName,
- List<
ShellParameter> parameters = const [], - bool allowRawParameters = false,
Creates a ShellScript annotation.
fileName
is the name of the shell script file to be generated.
parameters
is an optional list of parameters to be passed to the script.
allowRawParameters
enables raw parameter string input alongside typed parameters.
Implementation
const ShellScript({
required this.fileName,
this.parameters = const [],
this.allowRawParameters = false,
});