copyWith method

CodeAsset copyWith({
  1. LinkMode? linkMode,
  2. String? id,
  3. OS? os,
  4. Architecture? architecture,
  5. Uri? file,
})

Implementation

CodeAsset copyWith({
  LinkMode? linkMode,
  String? id,
  OS? os,
  Architecture? architecture,
  Uri? file,
}) =>
    CodeAsset._(
      id: id ?? this.id,
      linkMode: linkMode ?? this.linkMode,
      os: os ?? this.os,
      architecture: architecture ?? this.architecture,
      file: file ?? this.file,
    );