CubeRegistryClient class final
The cube registry client.
Constructors
- CubeRegistryClient({required String baseUrl, Client? client})
- Creates a client against a registry base url (default: fa1.dev).
Properties
Methods
-
download(
CubeRegistryTemplate template) → Future< String> -
Downloads
template's manifest from<baseUrl>/cubes/<file>and verifies its sha256 — a mismatch refuses the bytes. -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
templates(
) → Future< List< CubeRegistryTemplate> > -
Fetches the catalog:
GET <baseUrl>/cubes/templates.json. -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
- defaultBaseUrl → const String
- The default registry base url.