The docs (and type checker) say that BikeRadar.getBatteryStatus()'s sole param is a Number, but then parameter description explains that it can be null "if single-component".
The example also has code which calls getBatteryStatus(null);
The docs (and type checker) say that BikeRadar.getBatteryStatus()'s sole param is a Number, but then parameter description explains that it can be null "if single-component".
The example also has code which calls getBatteryStatus(null);