SdkDatabase class

Loads bundled SDK data-collection YAML plus optional per-project overrides.

Properties

entries Map<String, SdkEntry>
All loaded entries (bundled + overrides), keyed by package name.
no setter
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

lookup(String packageName) SdkEntry?
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited
unknownPackages(List<String> scannedPackages) List<String>
Packages in scannedPackages with no database entry and no override.

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

load({Directory? sdkDataDir, File? overridesFile}) Future<SdkDatabase>
Loads all *.yaml files from the bundled sdk_data directory, then applies an optional project override file. Overrides win on conflict.
resolveBundledSdkDataDir() Future<Directory>
Resolves package:privacy_ledger/database/sdk_data/ on disk.