copyWith method

CodeAsset copyWith({
  1. LinkMode? linkMode,
  2. String? id,
  3. Uri? file,
})

Implementation

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