getBluetoothStatus static method

Future<BluetoothResponse> getBluetoothStatus({
  1. required int deviceType,
})

Implementation

static Future<BluetoothResponse> getBluetoothStatus({
  required int deviceType,
}) async {
  return BluetoothResponse.fromJson(
    await _captureChannel.invokeMethod(
      _Method.getBluetoothStatus,
      <String, dynamic>{
        _Param.deviceType: deviceType,
      },
    ),
  );
}