getList<T> method

List<T> getList<T>(
  1. int index, {
  2. dynamic innerMapKey,
  3. int? innerIndex,
  4. List<T>? defaultValue,
})

Converts the element at index to a List of T.

Implementation

List<T> getList<T>(
  int index, {
  dynamic innerMapKey,
  int? innerIndex,
  List<T>? defaultValue,
}) => ConvertObjectImpl.toList<T>(
  _valueAt(index),
  mapKey: innerMapKey,
  listIndex: innerIndex,
  defaultValue: defaultValue,
  debugInfo: {'index': index},
);