DiskReadOnlyException constructor

const DiskReadOnlyException(
  1. String operation, {
  2. String? disk,
  3. String? path,
})

Creates a new DiskReadOnlyException for operation.

Implementation

const DiskReadOnlyException(this.operation, {super.disk, super.path})
  : super('The disk is read-only, so $operation is not allowed');