BundleBuilder class

Builds a dialect-bundle/1 bundle from a loaded project — pure, no I/O. The transport (filesystem, S3, …) consumes Bundle; the version is a deterministic function of content, so identical translations always produce the same Bundle.version. See dialect/spec/bundle.md.

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

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

Static Methods

build(DialectProject project, PublishEnvConfig env, {required String createdAt, required String generator}) Bundle
Build the bundle for env. createdAt (ISO-8601 UTC) and generator (dialect <version>) are informational manifest fields and are deliberately not inputs to the version hash, so re-publishing identical content is deterministic.

Constants

schema → const String