copyWith method

LocalizationPackage copyWith({
  1. String? arbDirRelativePath,
  2. String? path,
})

Implementation

LocalizationPackage copyWith({
  String? arbDirRelativePath,
  String? path,
}) =>
    LocalizationPackage(
      path: path ?? this.path,
      arbDirRelativePath: arbDirRelativePath ?? this.arbDirRelativePath,
      templateFile: templateFile,
      name: name,
      allowedLocales: _allowedLocales,
      projectKey: projectKey,
    );