push method

void push(
  1. RouteHistoryItem<Object> item
)

Implementation

void push(RouteHistoryItem item) {
  items.insert(0, item);
  for (var o in observers) {
    o.didPushHistory(item, [...items]);
  }
}