Flutter
Para Class
The Para
class provides a Flutter interface for the Para SDK, managing wallet operations, authentication, and
transactions.
Properties
The environment configuration for the Para SDK.
The API key used for authentication with Para services.
Optional URI to override the default JavaScript bridge.
The relying party ID for WebAuthn operations.
Methods
Constructs a new Para instance.
Initializes the Para SDK. Call this method immediately after constructing an instance.
Clears storage associated with the Para SDK.
Sets the email of the currently logged in user.
Gets the email of the currently logged in user, if one exists.
Logs in a user using passkeys.
Generates a passkey for the user.
Determines if a user exists with the given email address.
Creates a new user with the given email address.
Supplies email verification code obtained from prompting the user.
Sets up two-factor authentication for the user.
Turns on two-factor authentication for the user.
Checks if 2FA is enabled for the user.
Creates a wallet for the user.
Signs a message using the specified wallet.
Signs a transaction using the specified wallet.
Sends a transaction using the specified wallet.
Logs the user out.
Instructs the SDK to dispose of any resources that require explicit disposal.