getDominantLanguage method

  1. @override
Future<String> getDominantLanguage(
  1. String text
)
override

Implementation

@override
Future<String> getDominantLanguage(String text) async {
  final result = await methodChannel
          .invokeMethod<String>('getDominantLanguage', {'text': text}) ??
      "";
  return result;
}