convert method

  1. @override
List<T> convert(
  1. List<S> input
)
override

Converts input and returns the result of the conversion.

Implementation

@override
List<T> convert(List<S> input) {
  final list = <T>[];
  final sink = ConversionSink<List<T>>(list.addAll);
  startChunkedConversion(sink)
    ..add(input)
    ..close();
  return list;
}