CheckoutRiskSdkPlatform class abstract
The interface that implementations of checkout_risk_sdk must implement.
Platform implementations should extend this class rather than implement it as checkout_risk_sdk
does not consider newly added methods to be breaking changes. Extending this class
(using extends) ensures that the subclass will get the default implementation, while
platform implementations that implements this interface will be broken by newly added
CheckoutRiskSdkPlatform methods.
- Inheritance
-
- Object
- PlatformInterface
- CheckoutRiskSdkPlatform
- Implementers
Constructors
- CheckoutRiskSdkPlatform()
- Constructs a CheckoutRiskSdkPlatform.
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
-
getPlatformVersion(
) → Future< String?> - Returns the current platform version.
-
initialize(
String publicKey, String environment) → Future< void> - Initializes the Risk SDK with the provided configuration.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
publishData(
) → Future< String?> - Publishes device data to Checkout.com's risk engine.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Properties
- instance ↔ CheckoutRiskSdkPlatform
-
The default instance of CheckoutRiskSdkPlatform to use.
getter/setter pair