notQueryNorPath function
Implementation
List<RouteParamConfig> notQueryNorPath(List<RouteParamConfig> parameters) {
return parameters.where((p) {
throwIf(p.isPathParam == null || p.isQueryParam == null,
ExceptionMessages.isPathParamAndIsQueryParamShouldNotBeNull);
return !p.isPathParam! && !p.isQueryParam!;
}).toList();
}