hasOptedOutTracking method Null safety
Will return true if the user has opted out from tracking. return true if user has opted out from tracking. Defaults to false.
Implementation
Future<bool?> hasOptedOutTracking() async {
return await _channel.invokeMethod<bool>('hasOptedOutTracking');
}