TypedLogicUtilities<LogicType extends Logic> extension

Type-preserving conveniences for concrete Logic values.

The static receiver type determines the static result type. If a value has already been widened to Logic, this extension cannot recover its original subtype.

on
  • LogicType

Methods

cloneTyped({String? name}) → LogicType

Available on LogicType, provided by the TypedLogicUtilities extension

Equivalent to Logic.clone, preserving the receiver's static type and any declared payload type and semantic shape.
namedTyped(String name, {Naming? naming}) → LogicType

Available on LogicType, provided by the TypedLogicUtilities extension

Creates a named driveable alias while preserving the static result type.