If there is only a single chunk stored in a large file, loading it throws an error:
type 'String' is not a subtype of type 'Iterable<dynamic>'
#0 fetch (package:solidpod/src/solid/utils/large_file_helper.dart:448:30)
<asynchronous suspension>
#1 readLargeFileAsBytes (package:solidpod/src/solid/utils/large_file_helper.dart:97:3)
<asynchronous suspension>
The error is due to a difference between Dart and RDF Turtle on how single-element-list is represented:
- Dart:
[element]
- RDF Turtle:
element (i.e., the representation of a single-element-list is the same as an element)