MPBounds class

Describes the geographical bounds as a rectangle spanning from its northeastern point to its southwestern point

Inheritance

Constructors

MPBounds({required MPPoint northeast, required MPPoint southwest})
Build a MPBounds from a pair of coordinates

Properties

center MPPoint
Calculates the center of the bounds
no setter
hashCode int
The hash code for this object.
no setterinherited
northeast MPPoint
Get the northeastern point
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
southwest MPPoint
Get the southwestern point
no setter

Methods

contains(MPPoint point) bool
Check whether a point is inside the bounds
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
Converts the MPBounds to a JSON representation that can be parsed by the MapsIndoors Platform SDK
override
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

builder() MPBoundsBuilder
fromJson(dynamic json) MPBounds?
Attempts to build a MPBounds from a JSON object, this method will decode the object if needed