Geolocation class
Constructors
- Geolocation({required double latitude, required double longitude})
-
Creates a new Geolocation with latitude and longitude
const
- Geolocation.fromJson(dynamic json)
-
Creates a new Geolocation from a
json
responesfactory
Properties
- hashCode → int
-
The hash code for this object.
no setteroverride
- latitude → double
-
geographic coordinate that specifies the north–south position of this Geolocation
final
- longitude → double
-
geographic coordinate that specifies the east-west position of this Geolocation
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, double> - Creates a json map expected by the server
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override