executeOnLeave method

Future<void> executeOnLeave(
  1. List hooks
)

Convenience method: execute onLeave lifecycle hooks (page navigation leave)

Implementation

Future<void> executeOnLeave(List<dynamic> hooks) async {
  await executeLifecycleHooks(LifecycleEvent.leave, hooks);
}