exit method
Calls onExit with the given context (if they are both non-null).
Implementation
void exit(T? context, [EngineCallback? callback]) {
if (onExit != null && context != null) onExit!(context, callback);
}
Calls onExit with the given context (if they are both non-null).
void exit(T? context, [EngineCallback? callback]) {
if (onExit != null && context != null) onExit!(context, callback);
}