copyWith method
Implementation
MemoryFile copyWith({
String? content,
DateTime? lastModified,
String? hash,
SyncStatus? syncStatus,
String? remoteHash,
int? version,
}) => MemoryFile(
path: path,
type: type,
content: content ?? this.content,
lastModified: lastModified ?? this.lastModified,
hash: hash ?? this.hash,
syncStatus: syncStatus ?? this.syncStatus,
remoteHash: remoteHash ?? this.remoteHash,
author: author,
version: version ?? this.version,
);