GroupSettings constructor

GroupSettings({
  1. required String inputDir,
  2. String? prefixClassName,
  3. String? className,
  4. List<String> include = const ['**'],
  5. List<String> exclude = const [],
  6. bool createMapFiles = false,
  7. String outputDir = 'lib',
  8. String? outputFileName,
})

Implementation

factory GroupSettings({
  required String inputDir,
  String? prefixClassName,
  String? className,
  List<String> include = const ['**'],
  List<String> exclude = const [],
  bool createMapFiles = false,
  String outputDir = 'lib',
  String? outputFileName,
}) {
  return GroupSettings._(
    inputDir: pt.posix.normalize(inputDir),
    prefixClassName: prefixClassName,
    className: className,
    include: include.isEmpty ? const ['**'] : include,
    exclude: exclude,
    createMapFiles: createMapFiles,
    outputDir: outputDir,
    outputFileName: outputFileName,
  );
}