start method

  1. @override
Future start({
  1. required String appId,
  2. required bool debug,
})
override

Implementation

@override
Future start({
  required String appId,
  required bool debug,
}) async {
  try {
    await methodChannel.invokeMethod('start', {
      'app_id': appId,
      'debug': debug,
    });
  } on PlatformException catch (e) {
    throw Exception('Failed to start EI SDK: ${e.message}');
  }
}