combinationalPaths property Null safety

Map<Logic, List<Logic>> combinationalPaths

A mapping of purely combinational paths from each input port to all downstream output ports.

Each key of the returned Map is an input of this Module. Each value of the Map is a List of outputs of this Module which may change combinationally (no sequential logic in-between) as a result of the corresponding key input changing.

This is the stored result from calling getCombinationalPaths at build time. The module should be built before calling this (or call it itself) or else it may cache an incomplete picture.


Map<Logic, List<Logic>> get combinationalPaths =>
    _combinationalPaths ??= _getCombinationalPaths();