*<Null safety>*
StartupContext.fromStartupInfo()
Creates a startup context from the process startup info.
Returns a cached StartupContext instance associated with the currently running component if one was already created.
Authors should use this method of obtaining the StartupContext instead of instantiating one on their own as it will bind and connect to all the underlying services for them.
Implementation
factory StartupContext.fromStartupInfo() {
return _startupContext ??= StartupContextImpl.fromStartupInfo();
}