getMyBusyStatus method

  1. @override
Future<String> getMyBusyStatus()
override

Retrieves the current busy status of the user.

Implementation

@override
Future<String> getMyBusyStatus() async {
  String? response = FlyConstants.empty;
  try {
    response = await mirrorFlyMethodChannel.invokeMethod('getMyBusyStatus');
    return convertStatusFromJson(response);
  } on PlatformException catch (e) {
    LogMessage.d("Platform Exception =", " $e");
    rethrow;
  } on Exception catch (error) {
    LogMessage.d("Exception ", " $error");
    rethrow;
  }
}