getMap<K2, V2> method

Map<K2, V2> getMap<K2, V2>(
  1. int index, {
  2. dynamic innerMapKey,
  3. int? innerIndex,
  4. Map<K2, V2>? defaultValue,
  5. ElementConverter<K2>? keyConverter,
  6. ElementConverter<V2>? valueConverter,
})

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},
);