ProductiveDeviceVendorInfoLoader constructor

ProductiveDeviceVendorInfoLoader()

Create instance of ProductiveDeviceVendorInfoLoader.

Any instances created during test will lead to throwing UnsupportedError to avoid using real hardware information to perform testes.

Implementation

ProductiveDeviceVendorInfoLoader() {
  if (Platform.environment.containsKey("FLUTTER_TEST")) {
    throw UnsupportedError("Productive loader cannot be applied during test");
  }
}