GeneratorScript.path constructor
GeneratorScript.path(})
Generate for a all files in the globbed paths
Implementation
GeneratorScript.path(
List<String> include, {
List<String>? exclude,
String? directory,
this.overrideGeneratorVersion,
}) : args = [
'path',
'-i',
...include,
if (exclude != null && exclude.isNotEmpty) ...[
'-e',
...exclude,
],
if (directory != null && directory.isNotEmpty) ...[
'-d',
directory,
],
];