detectOperaAdblocker property Null safety

Future<bool> detectOperaAdblocker

Standalone check to detect if opera adblocker seems to be activated

Implementation

Future<bool> get detectOperaAdblocker {
  final isOpera = _helper.isOperaBrowser();

  if (isOpera) {
    return _helper.doesBaitRequestIsBlockedByOpera();
  }

  return Future.value(false);
}