init static method

void init({
  1. bool isDebugEnabled = false,
})

Implementation

static void init({bool isDebugEnabled = false}) {
  isSdkInitialized = true;
  final methodChannel = MethodChannel('bex_flutter_plugin/callback');
  methodChannel.setMethodCallHandler(BexSdk._methodHandler);
  _channel.invokeMethod(_SET_DEBUG_MODE, {"isDebugMode": isDebugEnabled});
}