erase method
void
erase()
Deletes the cassette file.
Implementation
void erase() {
File file = File(_filePath);
if (file.existsSync()) {
file.deleteSync();
}
}
Deletes the cassette file.
void erase() {
File file = File(_filePath);
if (file.existsSync()) {
file.deleteSync();
}
}