GeolocationModel class

Constructors

GeolocationModel.new({required String ip, required String network, required String version, required String city, required String region, required String regionCode, required String country, required String countryName, required String countryCode, required String countryCodeIso3, required String countryCapital, required String countryTld, required String continentCode, required bool inEu, required String postal, required double latitude, required double longitude, required String timezone, required String utcOffset, required String countryCallingCode, required String currency, required String currencyName, required String languages, required double countryArea, required int countryPopulation, required String asn, required String org})
GeolocationModel.fromJson(Map<String, dynamic> json)
factory

Properties

asn String
final
city String
final
continentCode String
final
country String
final
countryArea double
final
countryCallingCode String
final
countryCapital String
final
countryCode String
final
countryCodeIso3 String
final
countryName String
final
countryPopulation int
final
countryTld String
final
currency String
final
currencyName String
final
hashCode int
The hash code for this object.
no setterinherited
inEu bool
final
ip String
final
languages String
final
latitude double
final
longitude double
final
network String
final
org String
final
postal String
final
region String
final
regionCode String
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
timezone String
final
utcOffset String
final
version String
final

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.
override

Operators

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