portCount property

int get portCount

Implementation

int get portCount =>
    _nodePortIds.values.fold(0, (sum, list) => sum + list.length);