process method
Implementation
@override
process(Request request, ControllerMethodParam methodParam) {
final paramName = name ?? methodParam.name;
final value = request.params[paramName] ?? methodParam.defaultValue;
final parsedValue = _parseValue(value, methodParam.type);
if (parsedValue == null) {
throw RequestValidationError.param(
EzValidator.globalLocale.isTypeOf('${methodParam.type}', paramName));
}
return parsedValue;
}