HavinGenerateUseridPlatform class abstract

Inheritance
  • Object
  • PlatformInterface
  • HavinGenerateUseridPlatform
Implementers

Constructors

HavinGenerateUseridPlatform()
Constructs a HavinGenerateUseridPlatform.

Properties

hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

clearUserId() → Future<bool>
Clears the stored User ID from secure storage.
getPlatformVersion() → Future<String?>
getUserId() → Future<String?>
Gets the unique User ID. If no ID exists, a new UUIDv4 is generated, saved securely, and returned.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
regenerateUserId() → Future<String?>
Generates a new unique User ID, overwrites the existing one in secure storage, and returns it.
setUserId(String userId) → Future<bool>
Sets a custom User ID in secure storage.
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited

Static Properties

instance ↔ HavinGenerateUseridPlatform
The default instance of HavinGenerateUseridPlatform to use.
getter/setter pair