checkDeadSound method

void checkDeadSound()

Throws StateError if keepAlive is false.

Implementation

void checkDeadSound() {
  if (!keepAlive) {
    throw StateError('Dead sound.');
  }
}