getField method

Logic getField(
  1. String name
)

Accessor to the bits of a particular field within the CSR by name name.

Implementation

Logic getField(String name) =>
    elements.firstWhereOrNull((element) => element.name == name) ??
    (throw RohdHclException(
        'Field with name $name not found in CSR ${config.name}.'));