nestedPageInstances property

The current nested page instances within each navigator.

Returns a map where each key is a StandardPageInterface representing a navigator page, and the corresponding value is a list of StandardPageInterface instances that are nested within that navigator.

Implementation

Map<StandardPageInterface, List<StandardPageInterface>>
get nestedPageInstances =>
    Map<StandardPageInterface, List<StandardPageInterface>>.fromEntries(
      _nestedPageInstances.entries.map(
        (e) => MapEntry<StandardPageInterface, List<StandardPageInterface>>(
          e.key,
          List<StandardPageInterface>.from(e.value),
        ),
      ),
    );