void pushAndRemoveAll<T extends Object?>(String routeName, Object? arguments) { _stack.removeRange(0, _stack.length); push(routeName, arguments); }