onLoad method

  1. @override
Future<void> onLoad()
override

Called when the middleware is loaded.

Implementation

@override
Future<void> onLoad() async {
  await initializeDelegate?.call();
}