LatLngBounds class Null safety

Constructors

LatLngBounds({required double west, required double east, required double south, required double north})
LatLngBounds.fromJson(String json)
Build a object from json String. [...]
LatLngBounds.fromMap(Map data)
Build a object from Map. [...]

Properties

east double
read / write
hashCode int
The hash code for this object. [...]
read-only, inherited
north double
read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
south double
read / write
west double
read / write

Methods

contains(LatLng point) bool
return true if the given point was inside the bounds.
extend(LatLng point) → void
expend this bounds in order to containe the given point
getCenter() LatLng
return the center of this bounds.
getNorthEast() LatLng
return the (north,east) as LatLng.
getNorthWest() LatLng
return the (north,west) as LatLng.
getSouthEast() LatLng
return the (south,west) as LatLng.
getSouthWest() LatLng
return the (south,east) as LatLng.
intersects(LatLngBounds bounds) bool
Check if the given bounds intersect with this bounds in one point or more.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toJson() String
Convert the object to json.
toMap() Map<String, double>
Convert the object to Map.
toString() String
A string representation of this object. [...]
override
union(LatLngBounds other) LatLngBounds
return a new object from the union of this bounds and the given bounds.

Operators

operator ==(Object other) bool
The equality operator. [...]
override