enter method

void enter(
  1. T? context, [
  2. EngineCallback? callback
])

Calls onEntry with the given context (if they are both non-null).

Implementation

void enter(T? context, [EngineCallback? callback]) {
  if (onEntry != null && context != null) onEntry!(context, callback);
}