optIn method

Future<void> optIn()

Opt-in to Batch SDK. Will automatically restart the SDK with the configured API Key.

Implementation

Future<void> optIn() async {
  await _channel.invokeMethod('optIn');
}