getConfig<T> static method

T? getConfig<T>(
  1. String key
)

Get config value from current environment.

Implementation

static T? getConfig<T>(String key) {
  return _currentEnvironment?.config[key] as T?;
}