MemoryFile constructor

const MemoryFile({
  1. required String path,
  2. required MemoryFileType type,
  3. required String content,
  4. required DateTime lastModified,
  5. String? hash,
  6. SyncStatus syncStatus = SyncStatus.notTracked,
  7. String? remoteHash,
  8. String? author,
  9. 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,
});