topMatch property

RouteMatch topMatch

Returns the top most RouteMatch in the pending children, if it has not pending children this _match is returned

Implementation

RouteMatch get topMatch {
  if (hasPendingChildren) {
    return _getTopMatch(pendingChildren.last);
  }
  return _match;
}