City class
City information.
Constructors
Properties
- coordinates → Coordinates?
-
City geolocation.
final
- country → Country?
-
Country to which the city belongs.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → int?
-
City ID used by Open Weather Map.
final
- name → String?
-
City name.
final
- population → int?
-
Population obtained from Open Weather Map, may not be exact.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- timezone → int
-
Timezone in seconds.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited