optIn static method

Future<void> optIn(
  1. bool endUserOptedIn
)

Enables or disables the SDK to collect data and display in-app messages.

Implementation

static Future<void> optIn(final bool endUserOptedIn) async {
  await _invokeMethod('optIn', endUserOptedIn);
}