CampusMapRoom class
A searchable indoor space, optionally containing downloaded geometry.
Constructors
-
CampusMapRoom({required String id, required String buildingCode, required String buildingName, required CampusMapFloor floor, required String nameZh, required String nameEn, required String number, List<
CampusMapPolygon> polygons = const []}) -
Creates a room from a normalized database query.
const
Properties
- buildingCode → String
-
The owning building's code.
final
- buildingName → String
-
The owning building's display name.
final
- floor → CampusMapFloor
-
The owning layer and its actual floor suffix.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → String
-
The layer-qualified feature identifier.
final
- nameEn → String
-
The English space name, which may be empty.
final
- nameZh → String
-
The Chinese space name, which may be empty.
final
- number → String
-
The classroom or space number, which may be empty.
final
-
polygons
→ List<
CampusMapPolygon> -
The polygons for a downloaded floor; empty in search-only results.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited