LatLngBounds class
An immutable class representing a latitude/longitude aligned rectangle.
Ref: https://developers.google.com/android/reference/com/google/android/gms/maps/model/LatLngBounds.html
- Annotations
-
- @Freezed()
Constructors
- LatLngBounds({required LatLng southwest, required LatLng northeast})
-
constructs a LatLngBounds object.
constfactory
-
LatLngBounds.fromJson(Map<
String, Object?> json) -
Parse an LatLngBounds from json.
factory
Properties
-
copyWith
→ $LatLngBoundsCopyWith<
LatLngBounds> -
no setterinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- northeast → LatLng
-
The northeast coordinate of the bounds.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- southwest → LatLng
-
The southwest coordinate of the bounds.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited