Settings constructor

Settings()

Returns a singleton providing access to DCli settings.

Implementation

factory Settings() {
  if (Scope.hasScopeKey(scopeKey)) {
    return Scope.use(scopeKey);
  } else {
    return _self ??= Settings._internal();
  }
}