insertBusyStatus method

  1. @override
Future<bool?> insertBusyStatus(
  1. String busyStatus
)
override

Implementation

@override
Future<bool?> insertBusyStatus(String busyStatus) async {
  bool? res;
  try {
    res = await mirrorFlyMethodChannel
        .invokeMethod<bool>('insertBusyStatus', {"busy_status": busyStatus});
    return res;
  } on PlatformException catch (e) {
    debugPrint("Platform Exception ===> $e");
    rethrow;
  } on Exception catch (error) {
    debugPrint("Exception ==> $error");
    rethrow;
  }
}