initialize method
void
initialize(
- String clientKey,
- IDWiseTheme theme, {
- required dynamic onSuccess,
- required dynamic onError(
- dynamic error
override
Implementation
@override
void initialize(String clientKey, IDWiseTheme theme,
{required onSuccess, required onError}) async {
_onInitializeErrorCallback = onError;
_onInitializeSuccessCallback = onSuccess;
methodChannel.invokeMethod(
'initialize', {"clientKey": clientKey, "theme": theme.name});
}