initialize static method

Future<void> initialize({
  1. required String clientKey,
  2. required IDWiseTheme theme,
  3. required dynamic onError,
  4. dynamic onSuccess,
})

Implementation

static Future<void> initialize(
    {required String clientKey,
    required IDWiseTheme theme,
    required onError,
    onSuccess}) async {
  IdwiseFlutterPlatform.instance
      .initialize(clientKey, theme, onError: onError);
}