setMyBusyStatus static method

Future<void> setMyBusyStatus({
  1. required String busyStatus,
  2. required dynamic flyCallBack(
    1. FlyResponse response
    ),
})

Sets the busy status of the current user.

This method asynchronously sets the busy status of the current user to the specified busyStatus. The busyStatus parameter is a required string indicating the user's current status, such as "I'm busy" or "Driving".

The flyCallBack parameter is a function that will be called upon completion of the operation. It receives a FlyResponse object as a parameter, which contains information about the success or failure of the operation.

Example:

Mirrorfly.setMyBusyStatus(busyStatus: "I'm busy",flyCallBack: (response){
});

Implementation

static Future<void> setMyBusyStatus(
    {required String busyStatus,
    required Function(FlyResponse response) flyCallBack}) {
  return FlyChatFlutterPlatform.instance
      .setMyBusyStatus(busyStatus, flyCallBack);
}