setHyperSnapSDKConfig static method
Sets the configuration options for the HyperSnap SDK.
Parameters:
hyperSnapSDKConfig
: The configuration options to be set.
Implementation
static setHyperSnapSDKConfig(
{required HyperSnapSDKConfig hyperSnapSDKConfig}) async {
try {
await _hyperSnapSDKChannel.invokeMethod(
HyperSnapSDKConstants.hyperSnapSDKConfig,
hyperSnapSDKConfig.toMap(),
);
} catch (e) {
log(e.toString());
}
}