fun emit(event: Event): Unit
Simulates the emission of a given lifecycle event, marking state as necessary to the internal LifecycleRegistry as well as needed.
event
event - the event to simulate