load method

  1. @override
void load()
override

Load the configuration data from the stream. Will throw after the first call.

Implementation

@override
void load() {
  if (_loaded) {
    throw Exception(
      'StreamConfigurationProviders cannot be loaded more than once.',
    );
  }
  loadStream(_source.stream!);
  _loaded = true;
}