Location class

This class represents a location.

Constructors

Location.fromJson(Map<String, dynamic> json)
The default constructor.
factory

Properties

city String?
The name of the city at the given coordinates.
final
coordinates Coordinates?
The coordinates of the location.
final
country String?
The name of the country at the given coordinates.
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
state String?
The name of the state at the given coordinates.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
Convert this object to a JSON object.
toString() String
A string representation of this object.
inherited

Operators

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