RoomPlanScanner constructor
RoomPlanScanner({
- RoomPlanChannel? roomPlanChannel,
Implementation
RoomPlanScanner({RoomPlanChannel? roomPlanChannel})
: _channel = roomPlanChannel ?? RoomPlanChannel() {
_scanUpdates = _channel.scanUpdateStream
.where((event) => event is String)
.map((event) => parseScanResult(event as String));
}