environment property
HostEnvironment
environment
Implementation
HostEnvironment get environment =>
services.getRequiredService<HostEnvironment>();
HostEnvironment get environment =>
services.getRequiredService<HostEnvironment>();