route property
GetPage?
get
route
Implementation
GetPage? get route =>
currentTreeBranch.isEmpty ? null : currentTreeBranch.last;
set
route
(GetPage? getPage)
Implementation
set route(GetPage? getPage) {
if (getPage == null) return;
if (currentTreeBranch.isEmpty) {
currentTreeBranch.add(getPage);
} else {
currentTreeBranch[currentTreeBranch.length - 1] = getPage;
}
}