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.firstWhere((element) => element.name == '${this.name}_$name');