MPLocation class
A MapsIndoors geographical entity. A MPLocation can exist anywhere, but it is usually only used inside MPVenues and MPBuildings.
Properties
- activeFrom → int?
-
Get the time (epoch) the location is active from
no setter
- activeTo → int?
-
Get the time (epoch) the location is active to
no setter
-
aliases
→ List<
String> ? -
Get a list of aliases for the location
no setter
- baseType → MPLocationType
-
Gets the location's MPLocationType baseType
no setter
- bounds → MPBounds
-
Get the location's bounds
no setteroverride
- buildingName → String?
-
Get the name of the MPBuilding the location is in
no setter
-
categories
→ List<
String> ? -
Get a list of categories the location is contained in
no setter
- description → String?
-
Get the location's description
no setter
- externalId → String
-
Get the location's external id
no setter
- floorIndex → int
-
Get the location's floorIndex
no setter
- floorName → String?
-
Get the name of the MPFloor the location is on
no setter
- hashCode → int
-
The hash code for this object.
no setteroverride
- id → MPLocationId
-
final
- imageUrl → String?
-
Get the URL for the location's image
no setter
- isBookable → bool
-
Chech whether this location is bookable, this only checks if the location is allowed to be booked
no setter
- isPoint → bool
-
Inherited from MPEntity, checks whether the location's
geometry
is a MPPointno setteroverride - locationId → String
-
Get the location's id value
no setter
- name → String
-
Get the location's name
no setter
- point → MPPoint
-
Get the location's point
no setter
- position → MPPoint
-
Get the location's position, this is usually the location's anchor point
no setteroverride
-
restrictions
→ List<
String> ? -
Get the location's restrictions
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- selectable ↔ bool?
-
Get the location's settings object
getter/setter pair
- typeName → String?
-
Get the name of the location's type
no setter
- venueName → String?
-
Get the name of the MPVenue the location is in
no setter
Methods
-
getProperty(
MPLocationPropertyNames key) → Object? -
Fetch a property from the location with a MPLocationPropertyNames
key
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
Converts the MPLocation to a JSON representation that can be parsed by the MapsIndoors Platform SDK
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override
Static Methods
-
fromJson(
dynamic json) → MPLocation? - Attempts to build a MPLocation from a JSON object, this method will decode the object if needed