removeDisk method
Removes a disk from the registry
Implementation
void removeDisk(String name) {
if (!_disks.containsKey(name)) {
throw NotFoundException('Disk "$name" is not registered');
}
_disks.remove(name);
}
Removes a disk from the registry
void removeDisk(String name) {
if (!_disks.containsKey(name)) {
throw NotFoundException('Disk "$name" is not registered');
}
_disks.remove(name);
}