MetricSdk class

This class initiates the metric sdk

Constructors

MetricSdk({required String publicKey, required String secretKey})

Properties

apiKey String
getter/setter pair
baseUrl String
final
hashCode int
The hash code for this object.
no setterinherited
publicKey String
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
secretKey String
final

Methods

checkTokenStatus(String token) Future
This method checks the status of a token that has not been used
checkUsedTokenStatus(String token) Future
This method checks the status of a token that has been used
initiateTokenVerification({required String token, required dynamic onClose(VerificationData?)}) Future<Widget>
This method initializes the webview token verification process
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