getMap<K2, V2> method
Converts the element at index to a Map of K2 to V2.
Implementation
Map<K2, V2> getMap<K2, V2>(
int index, {
dynamic innerMapKey,
int? innerIndex,
Map<K2, V2>? defaultValue,
ElementConverter<K2>? keyConverter,
ElementConverter<V2>? valueConverter,
}) => ConvertObjectImpl.toMap<K2, V2>(
_valueAt(index),
mapKey: innerMapKey,
listIndex: innerIndex,
defaultValue: defaultValue,
keyConverter: keyConverter,
valueConverter: valueConverter,
debugInfo: {'index': index},
);