initialize method

Future<bool> initialize({
  1. bool debug = false,
})

Implementation

Future<bool> initialize({bool debug = false}) async{
  WidgetsFlutterBinding.ensureInitialized();
      _channel.setMethodCallHandler(_handleMethod);
  var result = await _channel.invokeMethod(CHANNEL_METHOD_INITIALIZE, {
    INITIALIZE_DEBUG_MODE: debug,
  });

  return result;
}