ApexKycConfig class
Configuration class for ApexKYC SDK
Properties
- apiKey → String?
-
API key for authentication (optional if backend doesn't require it)
final
- baseUrl → String
-
Backend API base URL
final
- companyLogoUrl → String?
-
Company logo URL for branding
final
- companyName → String?
-
Company name for branding
final
- enableLogging → bool
-
Enable debug logging
final
- enableManualCapture → bool
-
Enable manual capture (camera) option in KYC flow
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- timeoutSeconds → int
-
Request timeout in seconds
final
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
- instance → ApexKycConfig
-
Get current instance
no setter
- isInitialized → bool
-
Check if initialized
no setter
Static Methods
-
initialize(
{required String baseUrl, String? apiKey, int timeoutSeconds = 30, bool enableLogging = false, bool enableManualCapture = true, String? companyName, String? companyLogoUrl}) → void - Initialize configuration (call this first before using SDK)
-
reset(
) → void - Reset instance (useful for testing)
-
updateFromBackend(
{bool? enableManualCapture, String? companyName, String? companyLogoUrl}) → void - Update configuration with SDK config from backend