initialize method

Future<void> initialize({
  1. bool? useDebugMode,
  2. String? testDevices,
})

Initializing MyTarget ads. useDebugMode enabling debug mode. Pass the test device ID to testDevices if needed. For full details on test mode see https://target.my.com/help/partners/mob/debug/en

Implementation

Future<void> initialize({bool? useDebugMode, String? testDevices}) async {
  await _channel.invokeMethod(_methodInitialize,
      _getInitialData(useDebugMode ?? isDebug, testDevices));
}