rssiUpdate method
updated the rssi value stored in the class. RSSI stands for Received Signal Strength Indication.
Implementation
void rssiUpdate(int input) {
assert(input < 0, "RSSI cannot be greater than zero");
_rssi = input.toDouble();
double distance = _rssiToMeters(_rssi);
_distanceToUser = distance;
}