instance property

RulesController get instance

Get the singleton instance Note: You should call initialize() first to properly set up the engine

Implementation

static RulesController get instance {
  if (_instance == null) {
    ObslyLogger.warn(
        'RulesController accessed before initialization - creating uninitialized instance');
    _instance = RulesController._();
  }
  return _instance!;
}