isEnglish method
Implementation
@override
Future<bool> isEnglish(String text, double threshold) async {
final result = await methodChannel.invokeMethod<bool>('isEnglish', {
"text": text,
"threshold": threshold,
}) ??
false;
return result;
}