driverValue method Null safety

  1. @protected
LogicValue driverValue(
  1. Logic driver
)

Gets the value that should be used for execution for the input port associated with driver.

Implementation

@protected
LogicValue driverValue(Logic driver) =>
    _driverValueOverrideMap.containsKey(driverInput(driver))
        ? _driverValueOverrideMap[driverInput(driver)]!
        : _assignedDriverToInputMap[driver]!.value;