FeatureRegistry.instance constructor

FeatureRegistry.instance()

Factory that returns the singleton instance of the FeatureRegistry.

Implementation

factory FeatureRegistry.instance() {
  assert(
    _instance != null,
    'FeatureRegistry has not been initialized',
  );
  return _instance!;
}