fromTuplesArray method
Creates a new AnyValueMap from a list of key-value pairs called tuples. The method is similar to fromTuples but tuples are passed as array instead of parameters.
tuples
a list of values where odd elements are keys and the following even elements are values Returns a newly created AnyValueArray.