getCurrentAuthToken static method

Future<String> getCurrentAuthToken()

Retrieves the current authentication token asynchronously.

This method returns a Future

Returns:

  • A Future

Throws:

  • If the authentication token cannot be retrieved, the method may throw an exception.

Implementation

static Future<String> getCurrentAuthToken() {
  return FlyChatFlutterPlatform.instance.getCurrentAuthToken();
}