Location class

Represents a Location in the S3I-Directory data model.

WGS84 is used as base coordinate system.

Constructors

Location(double latitude, double longitude)
Creates a Location at latitude and longitude.
Location.fromJson(Map<String, dynamic> json)
Creates a Location from a decoded json entry.
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
latitude double
The latitude (N x.x°) of the location.
getter/setter pair
longitude double
The longitude (E x.x°) of the location.
getter/setter pair
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, dynamic>
Returns the information stored in this object in a way the it could be encoded via jsonEncode().
toString() String
A string representation of this object.
override

Operators

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