copy property
NomoPage<T>
get
copy
Implementation
NomoPage<T> get copy {
return switch (this) {
NestedNomoPage<T> r => NestedNomoPage<T>(
routeInfo: routeInfo,
page: page,
pageWithoutKey: pageWithoutKey,
route: route,
navKey: r.navKey,
arguments: arguments,
key: UniqueKey(),
urlArguments: urlArguments,
),
RootNomoPage<T> _ => RootNomoPage<T>(
routeInfo: routeInfo,
page: page,
pageWithoutKey: pageWithoutKey,
route: route,
arguments: arguments,
key: UniqueKey(),
urlArguments: urlArguments,
),
};
}