ConnectSDKConfiguration class
The main configuration class for the ConnectSDK. Necessary for the initialization of the SDK.
- Annotations
-
- @JsonSerializable()
Constructors
- ConnectSDKConfiguration.new(SessionConfiguration sessionConfiguration, {bool enableNetworkLogs = false, String? applicationId, String? ipAddress})
-
ConnectSDKConfiguration.fromJson(Map<
String, dynamic> json) -
factory
Properties
- applicationId ↔ String?
-
The optional applicationId that will be used in the metadata of the API calls and payment encryption.
getter/setter pair
- enableNetworkLogs ↔ bool
-
Whether the network calls should be logged - should be
false
in production.getter/setter pair - hashCode → int
-
The hash code for this object.
no setterinherited
- ipAddress ↔ String?
-
The optional ipAddress that will be used in the metadata of the API calls and payment encryption.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- sessionConfiguration → SessionConfiguration
-
The configuration for the current session.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited