ranging method
Implementation
@override
Stream<RangingResult> ranging(List<Region> regions) {
final list = regions.map((region) => region.toJson).toList();
final Stream<RangingResult> onRanging = _rangingChannel
.receiveBroadcastStream(list)
.map((dynamic event) => RangingResult.from(event));
return onRanging;
}