Location class

Location information. Useful for IP addresses and other displayable data objects.

@author Brian Pontarelli

Annotations
  • @JsonSerializable()

Constructors

Location({String city, String country, String displayString, num latitude, num longitude, String region, String zipcode})
Location.fromJson(Map<String, dynamic> json)
factory

Properties

city String
getter/setter pair
country String
getter/setter pair
displayString String
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
latitude num
getter/setter pair
longitude num
getter/setter pair
region String
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
zipcode String
getter/setter pair

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