verify
Verifies if the parameters in this list matches the allowedParameters. The lists can have different number of elements. The parameters in the allowedParameters list that are not Parameter.optional must be in this list and all parameters in this list must match the type of the parameters with the same name in allowedParameters
Parameters
allowed Parameters
the parameters to check against
Throws
if either a required parameter is missing or the types of two parameters don't match