PatchbayOutputProjection class final
One command's whole machine-output declaration.
full is the identity projection and is therefore not declared: it is what
happens when nothing is applied. A command that declares nothing at all is
descriptor-less, which is not the same as declaring an empty projection —
hence the invariant that at least one half is present.
Constructors
- PatchbayOutputProjection({PatchbayOutputBriefProjection? brief, PatchbayOutputArtifactProjection? artifact})
-
const
- PatchbayOutputProjection.fromJson(Object? value, {String path = r'$.outputProjection'})
-
Decodes a provider-supplied declaration, fail-closed.
factory
Properties
- artifact → PatchbayOutputArtifactProjection?
-
final
- brief → PatchbayOutputBriefProjection?
-
final
- 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
-
toJson(
) → Map< String, Object?> -
toString(
) → String -
A string representation of this object.
inherited
-
validate(
{String path = r'$.outputProjection'}) → void -
Throws FormatException unless every half is within its bounds. Decoded
declarations are already validated; this exists for the compiled-in ones,
which are
constand therefore cannot validate in their constructor.
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
fromCatalogRow(
Map< Object?, Object?> row, {String path = r'$'}) → PatchbayOutputProjection? -
Reads the optional
outputProjectionsibling off one catalog row.