init method
Implementation
@override
Future<RouteBase?> init() async {
if (_initializedInstance != null) {
return _initializedInstance;
}
if (lifecycleHandlers != null && lifecycleHandlers!.isNotEmpty) {
for (final config in lifecycleHandlers!) {
await config.init(this);
}
}
_initializedInstance = this;
return _initializedInstance;
}