isVirtualPlatform property

  1. @override
  2. @nonVirtual
Future<bool> get isVirtualPlatform
override

Indicate this host is executed in virtual machine or a container.

Implementation

@override
@nonVirtual
Future<bool> get isVirtualPlatform =>
    _isVirtualPlatformMemorizer.runOnce(fetchIsVirtualPlatform);