Detect and return the charset of bytes.
bytes
Future<String> detect(Uint8List bytes) async { return (await _channel.invokeMethod<String>('detect', {'data': bytes}))!; }