convert method
Converts input and returns the result of the conversion.
Implementation
@override
List<int> convert(List<int> input) {
final bytes = input is Uint8List ? input : Uint8List.fromList(input);
return brotliCompress(bytes, options: options);
}