copyWith method
Implementation
MemoryFileInfo copyWith({
String? path,
MemoryType? type,
String? content,
String? parent,
List<String>? globs,
bool? contentDiffersFromDisk,
String? rawContent,
}) {
return MemoryFileInfo(
path: path ?? this.path,
type: type ?? this.type,
content: content ?? this.content,
parent: parent ?? this.parent,
globs: globs ?? this.globs,
contentDiffersFromDisk:
contentDiffersFromDisk ?? this.contentDiffersFromDisk,
rawContent: rawContent ?? this.rawContent,
);
}