scanRoom static method
Scans a room with LiDAR (iOS 16+ RoomPlan) and returns its layout.
Implementation
static Future<UArRoomScanResult?> scanRoom({UArRoomScanOptions options = const UArRoomScanOptions()}) async {
final Map<Object?, Object?>? raw = await UArChannel.invokeMap("scanRoom", options.toMap());
return raw == null ? null : UArRoomScanResult.fromMap(raw);
}