SaafeSdk class
Main Saafe SDK class
Constructors
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
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Properties
- baseRedirectUrl → String
-
Get the base redirect URL (either custom or environment-specific default)
no setter
Static Methods
-
initialize(
{String? customRedirectUrl, bool useSandbox = true}) → Future< void> - Initialize the SDK - should be called in the main() function before runApp()
-
launchExternalUrl(
String url, {BuildContext? context}) → Future< bool> - Launch a URL in the external browser
-
triggerRedirect(
BuildContext context, SaafeRedirectOptions options) → Future< SaafeRedirectInstance> - Triggers the redirect flow