copyWith method
SdkPackageDependency
copyWith({
- String? package,
- String? version,
- String? description,
- DependencyType? type,
Implementation
SdkPackageDependency copyWith({
String? package,
String? version,
String? description,
DependencyType? type,
}) =>
SdkPackageDependency(
package: package ?? this.package,
version: version ?? this.version,
description: description ?? this.description,
type: type ?? this.type,
);