onInstancePause method

  1. @override
void onInstancePause(
  1. int id
)
override

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);
}