getPhySupport static method

Future<PhySupport> getPhySupport()

Request Bluetooth PHY support

Implementation

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

  return await _invokeMethod('getPhySupport').then((args) => PhySupport.fromMap(args));
}