copyWith method

LocalizationCheckerConfig copyWith({
  1. List<String>? scanPaths,
  2. List<String>? customUiPatterns,
})

Implementation

LocalizationCheckerConfig copyWith({
  List<String>? scanPaths,
  List<String>? customUiPatterns,
}) =>
    LocalizationCheckerConfig(
      projectPath: projectPath,
      scanPaths: scanPaths ?? this.scanPaths,
      excludeDirs: excludeDirs,
      excludeFiles: excludeFiles,
      verbose: verbose,
      includeComments: includeComments,
      customUiPatterns: customUiPatterns ?? this.customUiPatterns,
    );