isBusyStatusEnabled method

  1. @override
Future<bool> isBusyStatusEnabled()
override

Retrieves the current user's busy status.

Implementation

@override
Future<bool> isBusyStatusEnabled() async {
  bool? res;
  try {
    res = await mirrorFlyMethodChannel
        .invokeMethod<bool>('isBusyStatusEnabled');
    LogMessage.d("isBusyStatusEnabled", " $res");
    return res ?? false;
  } on PlatformException catch (e) {
    LogMessage.d("Platform Exception", " $e");
    rethrow;
  } on Exception catch (error) {
    LogMessage.d("Exception ", " $error");
    rethrow;
  }
}