getConnectorById method

Element? getConnectorById(
  1. String id
)

Implementation

Element? getConnectorById(String id) => headChildren
    .where((el) => el.xmlTagName == 'connectorBase')
    .firstOrNull
    ?.children
    .where((c) => c.rawAttributes['id'] == id)
    .firstOrNull;