isChatDisabled method

  1. @override
Future<bool> isChatDisabled()

Determine whether chat is disabled.
Return true if chat is disabled, otherwise false.

Implementation

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