checkUnique method
Checks if specific route is already in stack Can be screen route, dialog route or bottom sheet route Therefore route name is Object returns true if object is not present in stack
Implementation
bool checkUnique({
required dynamic routeName,
AppTabType? tab,
required bool global,
}) {
final stack = _getStack(global);
return stack.checkUnique(
routeName: routeName,
tab: tab,
global: global,
);
}