MemoryFile constructor
const
MemoryFile({
- required String path,
- required MemoryFileType type,
- required String content,
- required DateTime lastModified,
- String? hash,
- SyncStatus syncStatus = SyncStatus.notTracked,
- String? remoteHash,
- String? author,
- int version = 1,
Implementation
const MemoryFile({
required this.path,
required this.type,
required this.content,
required this.lastModified,
this.hash,
this.syncStatus = SyncStatus.notTracked,
this.remoteHash,
this.author,
this.version = 1,
});