onInstancePause method
Implementation
@override
void onInstancePause(int id) {
var iterator = _engineContext?.instanceLifecycleEventListener.iterator;
if (iterator != null) {
while (iterator.moveNext()) {
iterator.current.onInstancePause(id);
}
}
_engineContext?.bridgeManager.pauseInstance(id);
}