getAsMap method
Converts array element into an AnyValueMap or returns empty AnyValueMap if conversion is not possible.
index
an index of element to get. Returns AnyValueMap value of the element or empty AnyValueMap if conversion is not supported.
See AnyValueMap See AnyValueMap.fromValue
Implementation
AnyValueMap getAsMap(int index) {
var value = _values[index];
return AnyValueMap.fromValue(value);
}