convert method
Converts input
and returns the result of the conversion.
Implementation
@override
CsvAsMap convert(Csv input) {
final res = <Map<String, String>>[];
_Sink(
ChunkedConversionSink<CsvAsMap>.withCallback((xs) {
for (final x in xs) {
res.addAll(x);
}
}),
headerConverter,
headers,
)
..add(input)
..close();
return res;
}