copyWith method

GitPackageDependencySpec copyWith({
  1. String? package,
  2. String? url,
  3. Optional<String>? ref,
  4. Optional<String>? path,
})

Implementation

GitPackageDependencySpec copyWith({
  String? package,
  String? url,
  Optional<String>? ref,
  Optional<String>? path,
}) =>
    GitPackageDependencySpec(
      package: package ?? this.package,
      url: url ?? this.url,
      ref: ref ?? this.ref,
      path: path ?? this.path,
    );