insertBusyStatus static method

Future<bool?> insertBusyStatus({
  1. required String busyStatus,
})

Inserts the busy status for the current user.

This static method sends the provided busyStatus to the Mirrorfly chat platform to update the user's busy status.

Returns a Future that completes with a bool value indicating whether the insertion operation was successful. Returns true if successful, false otherwise.

Throws an error if busyStatus is null.

Implementation

static Future<bool?> insertBusyStatus({required String busyStatus}) async {
  return FlyChatFlutterPlatform.instance.insertBusyStatus(busyStatus);
}