isAllowViewHistoryTranslationMessageEnabled method

  1. @override
Future<bool> isAllowViewHistoryTranslationMessageEnabled()

Determine whether the view history translation message is available.
Return True indicates that the view history transcription message is available. Otherwise False.

Implementation

@override
Future<bool> isAllowViewHistoryTranslationMessageEnabled() async {
  return await methodChannel
      .invokeMethod<bool>('isAllowViewHistoryTranslationMessageEnabled')
      .then<bool>((bool? value) => value ?? false);
}