Rangefinder constructor

Rangefinder({
  1. required float distance,
  2. required float voltage,
})

Implementation

Rangefinder({
  required this.distance,
  required this.voltage,
});