fluffychat/lib/utils/tor_stub.dart

8 lines
236 B
Dart
Raw Normal View History

/// Stub class for [TorBrowserDetector]
///
/// statically returns false as Tor **browser** can only be detected in a
/// **browser**.
abstract class TorBrowserDetector {
static Future<bool> get isTorBrowser => Future.value(false);
}