Geo class

Annotations
  • @JsonSerializable(explicitToJson: true)

Constructors

Geo({String? city, String? geonamesCityId, String? region, String? countryCode, String? country, double? latitude, double? longitude})
Geo.fromJson(Map<String, dynamic> json)
factory

Properties

city String?
The city where this institution lives.
getter/setter pair
country String?
The country where this institution lives.
getter/setter pair
countryCode String?
The country where this institution lives, represented as an ISO two-letter country code.
getter/setter pair
geonamesCityId String?
The city where this institution lives, as a GeoNames database ID.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
latitude double?
Does what it says.
getter/setter pair
longitude double?
Does what it says.
getter/setter pair
region String?
The sub-national region (state, province) where this institution lives.
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>
toString() String
A string representation of this object.
inherited

Operators

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