getPhySupport static method

Future<PhySupport> getPhySupport()

Request Bluetooth PHY support

Implementation

static Future<PhySupport> getPhySupport() async {
  // check android
  if (kIsWeb || !Platform.isAndroid) {
    throw FlutterBluePlusException(
        ErrorPlatform.fbp, "getPhySupport", FbpErrorCode.androidOnly.index, "android-only");
  }

  return await _invokePlatform(() => FlutterBluePlusPlatform.instance.getPhySupport(PhySupportRequest()));
}