FlowExperimentClientContractV1 class final

The exact immutable V1 client flow-experiment contract.

Annotations
  • @immutable

Constructors

FlowExperimentClientContractV1({required Surface surfaceType, required FlowDeliveryMode deliveryMode, required FlowExperimentDescriptor descriptor, required List<FlowExperimentDocumentContract> documents, required InstalledCapability installedCapability, required List<FlowActionBindingFingerprint> actionBindings, required List<String> installedSignals})
Creates and validates a complete baseline closure and capability snapshot.
factory

Properties

actionBindings List<FlowActionBindingFingerprint>
Complete installed action mount set in canonical semantic order.
final
canonicalBytes Uint8List
Exact compact canonical V1 bytes.
no setter
contentHash FlowContentHash
Domain-separated SHA-256 hash of canonicalBytes.
no setter
deliveryMode FlowDeliveryMode
Typed or general flow delivery mode.
final
descriptor FlowExperimentDescriptor
Generated root descriptor.
final
documents List<FlowExperimentDocumentContract>
Complete exact baseline closure in canonical semantic order.
final
hashCode int
The hash code for this object.
no setterinherited
installedCapability InstalledCapability
Deep-frozen installed renderer capability.
final
installedSignals List<String>
Exact installed signal union in canonical semantic order.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
surfaceType Surface
Surface category of this snapshot.
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

Static Methods

decode(List<int> bytes) FlowExperimentClientContractV1
Strictly decodes exact canonical V1 UTF-8 JSON bytes.