toHistory method

RouteHistoryItem<Object> toHistory({
  1. String? childPath,
})

Implementation

RouteHistoryItem toHistory({String? childPath}) =>
    RouteHistoryItem(this.route, childPath, isPage: isPage);