pop<T> method

void pop<T>([
  1. T? result
])

从根路由弹出一个页面

Implementation

void pop<T>([T? result]) {
  if (state.canPop()) state.pop(result);
}