initialize method
void
initialize(
- String clientKey,
- IDWiseSDKTheme theme, {
- required dynamic onError(
- String error
override
Implementation
@override
void initialize(String clientKey, IDWiseSDKTheme theme,
{required onError}) async {
print('initializing SDK with clientKey: $clientKey');
_onInitializeErrorCallback = onError;
methodChannel.invokeMethod(
'initialize', {"clientKey": clientKey, "theme": theme.name});
}