autoDecode method
Automatically detect the charset of bytes
and decode to a string.
Implementation
@override
Future<DecodingResult> autoDecode(Uint8List bytes) async {
final result = await _channel
.invokeMethod<Map<dynamic, dynamic>>('autoDecode', {'data': bytes});
return DecodingResult.fromJson(result!.cast());
}