getBusyStatusList method

  1. @override
Future<String?> getBusyStatusList()
override

Retrieves a list of all available busy statuses.

Implementation

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