pushPathItem<T> method
Implementation
Future pushPathItem<T>(List<YimRouterPathItem> items, {int pop = 0}) async {
while (pop-- > 0) {
_currentRouterPath.pop();
}
_currentRouterPath.pushMultipleItem(items);
notifyListeners();
return await items.last.pageResult.future;
}