of static method
Implementation
static Environment of(BuildContext context) {
final provider = context.dependOnInheritedWidgetOfExactType<EnvironmentProvider>();
return provider!.environment;
}
static Environment of(BuildContext context) {
final provider = context.dependOnInheritedWidgetOfExactType<EnvironmentProvider>();
return provider!.environment;
}