checkDeadSound method
void
checkDeadSound()
Throws StateError if keepAlive is false
.
Implementation
void checkDeadSound() {
if (!keepAlive) {
throw StateError('Dead sound.');
}
}
Throws StateError if keepAlive is false
.
void checkDeadSound() {
if (!keepAlive) {
throw StateError('Dead sound.');
}
}