Building class
An object representing a building in the real world.
Constructors
-
Building({required String key, required WorldLocation location, required List<
Floor> floors, required PolygonalArea area})
Properties
- area → PolygonalArea
-
final
-
floors
→ List<
Floor> -
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- key → String
-
final
- location → WorldLocation
-
final
- numberOfFloors → int
-
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
getCurrentRoom(
Point point) → Room? -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited