copyWith method
PathPackageDependency
copyWith({
- String? package,
- String? version,
- String? path,
- bool? relative,
- DependencyType? type,
Implementation
PathPackageDependency copyWith({
String? package,
String? version,
String? path,
bool? relative,
DependencyType? type,
}) =>
PathPackageDependency(
package: package ?? this.package,
version: version ?? this.version,
path: path ?? this.path,
relative: relative ?? this.relative,
type: type ?? this.type,
);