DCliPlatform constructor

DCliPlatform()

Returns a singleton providing access to DCli settings.

Implementation

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