GeoCoordinates class
Represents a geographical location using latitude and longitude coordinates.
This class encapsulates the latitude and longitude values that define a geographical location.
Constructors
- GeoCoordinates({double? latitude, double? longitude})
- Creates a new instance of GeoCoordinates.
-
GeoCoordinates.fromJson(Map<
String, dynamic> json) -
Creates a new instance of GeoCoordinates from a JSON object.
factory
Properties
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> - Returns a JSON-compatible map that represents this GeoCoordinates.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited