copyWith method
Implementation
HostedPackageDependencySpec copyWith({
String? package,
Optional<String>? version,
Optional<String>? name,
Optional<String>? url,
}) =>
HostedPackageDependencySpec(
package: package ?? this.package,
version: version ?? this.version,
name: name ?? this.name,
url: url ?? this.url,
);