isLastSeenVisible static method

Future<bool?> isLastSeenVisible()

Checks whether the last seen status is visible to other users.

This static method asynchronously queries the platform to determine whether the last seen status is visible to other users.

Returns a Future that completes with a bool value:

  • true if the last seen status is visible.
  • false if the last seen status is hidden.
  • null if the visibility status cannot be determined.

Implementation

static Future<bool?> isLastSeenVisible() {
  return FlyChatFlutterPlatform.instance.isHideLastSeenEnabled();
}