Coordinates class Null safety

Annotations

Constructors

Coordinates(double? latitude, double? longitude)
Coordinates.fromMap(Map map)
Creates coordinates from a map containing its properties.

Properties

hashCode int
The hash code for this object.
read-only, inherited
latitude double?
The geographic coordinate that specifies the north–south position of a point on the Earth's surface.
final
longitude double?
The geographic coordinate that specifies the east-west position of a point on the Earth's surface.
final
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
toMap() Map
Creates a map from the coordinates properties.
toString() String
A string representation of this object.
override

Operators

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