initialize method

  1. @override
void initialize(
  1. String clientKey,
  2. IDWiseTheme theme, {
  3. required dynamic onError(
    1. String error
    ),
})
override

Implementation

@override
void initialize(String clientKey, IDWiseTheme theme,
    {required onError}) async {
  _onInitializeErrorCallback = onError;

  methodChannel.invokeMethod(
      'initialize', {"clientKey": clientKey, "theme": theme.name});
}