Enables or disables the SDK to collect data and display in-app messages.
static Future<void> optIn(final bool endUserOptedIn) async { await _invokeMethod('optIn', endUserOptedIn); }