setOptOut method Null safety

Future<void> setOptOut(
  1. bool value
)

Method to allow user to Opt out of sending data to CleverTap as per GDPR rules

Implementation

static Future<void> setOptOut(bool value) async {
  return await _channel.invokeMethod('setOptOut', {'value': value});
}