SourceSDKConfig class
Merchant-provided SDK configuration.
Merchants should call SourceSDKConfig.configure(...) once during app
initialization to set their accountId and optional merchant info.
Constructors
- SourceSDKConfig({required String accountId, String? merchantName, String? merchantWallet, String? webBaseUrl})
-
const
Properties
- accountId → String
-
The merchant's Source account id used when presenting QR payloads.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- merchantName → String?
-
Optional friendly merchant name for display in the paysheet UI.
final
- merchantWallet → String?
-
Optional merchant wallet identifier (if different from accountId).
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- webBaseUrl → String?
-
Optional web base URL to use for the QR fallback link (overrides SDK defaults).
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
- current → SourceSDKConfig?
-
Current SDK configuration or
nullif not configured.no setter
Static Methods
-
clear(
) → void - Clears the in-memory configuration.
-
configure(
SourceSDKConfig config) → void - Configure the SDK with merchant-provided values. Call once at app init.