throwInvalidEvent method
Throw an error to show that an event was unhandled.
Implementation
Never throwInvalidEvent(final EventType type) =>
throw SdlError(type.toInt(), 'Invalid event type $type.');
Throw an error to show that an event was unhandled.
Never throwInvalidEvent(final EventType type) =>
throw SdlError(type.toInt(), 'Invalid event type $type.');