CubeRegistryTemplate class final

One catalog entry of the cube registry.

Constructors

CubeRegistryTemplate({required String id, required String name, required String description, required String file, required String sha256})
Creates a template descriptor.
const
CubeRegistryTemplate.fromTemplateJson(Map<Object?, Object?> json, {required String where})
Parses one templates[] entry; strict — where names the offending entry in the error message.
factory

Properties

description → String
One-line description.
final
file → String
Manifest path relative to the registry's /cubes/ root.
final
hashCode → int
The hash code for this object.
no setterinherited
id → String
Manifest id — also the file name used by /cube install (<id>.yaml under .fah/cubes/).
final
name → String
Human title.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
sha256 → String
sha256 hex of the manifest bytes — verified on download.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

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