checkUnique abstract method

bool checkUnique({
  1. required dynamic routeName,
  2. AppTabType? tab,
  3. required bool global,
})

Checks if specific route is already in stack Can be screen route, dialog route or bottom sheet route Therefore route name is dynamic returns true if object is not present in stack

Implementation

bool checkUnique({
  required dynamic routeName,
  AppTabType? tab,
  required bool global,
});