PatchbayOutputBriefProjection class final

The brief half of a declaration: a stable id plus a deny-list.

Constructors

PatchbayOutputBriefProjection({required String id, required List<String> omit})
const
PatchbayOutputBriefProjection.fromJson(Object? value, {String path = r'$.brief'})
Decodes a provider-supplied brief object, fail-closed.
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
id String
The stable projection name reported as localView.projection.
final
omit List<String>
Literal restricted paths this projection may delete, in declaration order. localView.omitted reports the ones that actually removed something, in this order, which is what makes 0.5.0's frozen output reproducible from a declaration.
final
paths List<PatchbayOutputProjectionPath>
Parses omit. Call validate first, or be ready for FormatException.
no setter
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'$.brief'}) → void
Throws FormatException unless this declaration is within every bound the proposal fixes.

Operators

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