decodeIterated method

  1. @override
IteratedDecoder decodeIterated()
override

Decodes the data as an iterated collection of nested data.

Implementation

@override
IteratedDecoder decodeIterated() {
  try {
    return StandardIteratedDecoder._(_value as List, _isHumanReadable, _customTypes);
  } on TypeError {
    throw CodableException.unexpectedType(expected: 'List', actual: '${_value.runtimeType}', data: _value);
  }
}