path property

Future<String> get path

Get path of BleServer from library assets, use this class in Flutter projects only, this class is not supported in pure Dart projects.

Implementation

static Future<String> get path async {
  String bleServerExe = "packages/win_ble_plus/assets/BLEServer.exe";
  File file = await _getFilePath(bleServerExe);
  return file.path;
}