getSource method

ConfigSource? getSource(
  1. String key, {
  2. ConfigScope scope = ConfigScope.global,
})

Return the ConfigSource for a specific key within a scope.

Implementation

ConfigSource? getSource(
  String key, {
  ConfigScope scope = ConfigScope.global,
}) {
  return _sources[scope]?[key];
}