pushAll method

Push all given nodes onto the stack.

Implementation

NavigationStack pushAll(Iterable<Destination> nodes) =>
    nodes.fold<NavigationStack>(
      this,
      (stack, node) => NavigationStack._(stack, node),
    );