DirectionalAttachmentCapabilities constructor

const DirectionalAttachmentCapabilities({
  1. required int storageDepth,
  2. required int addedLatency,
  3. required bool requiresRetention,
  4. required bool supportsSameCycleReplacement,
  5. required bool supportsSameCycleCreditReuse,
  6. required bool requiresCreditContract,
  7. required bool hasBackwardCombinationalDependency,
})

Creates immutable attachment metadata.

Implementation

const DirectionalAttachmentCapabilities({
  required this.storageDepth,
  required this.addedLatency,
  required this.requiresRetention,
  required this.supportsSameCycleReplacement,
  required this.supportsSameCycleCreditReuse,
  required this.requiresCreditContract,
  required this.hasBackwardCombinationalDependency,
})  : assert(storageDepth >= 0, 'Storage depth must not be negative.'),
      assert(addedLatency >= 0, 'Added latency must not be negative.');