getBlockByName method

CsrBlockConfig getBlockByName(
  1. String name
)

Accessor to the config of a particular register block within the module by name name.

Implementation

CsrBlockConfig getBlockByName(String name) =>
    blocks.firstWhere((element) => element.name == name);