make method
Implementation
void make(Request request) {
data = const {};
final (result, errors) = schema.validateSync(request.body ?? {});
if (errors.isNotEmpty) {
throw RequestValidationError.errors(ValidationErrorLocation.body, errors);
}
data = Map<String, dynamic>.from(result);
}