TautulliGeolocationInfo class
Model to store the geolocation information for an IP address.
- Annotations
-
- @JsonSerializable(explicitToJson: true)
Constructors
- TautulliGeolocationInfo({String? code, String? country, String? region, String? city, String? postalCode, String? timezone, double? latitude, double? longitude, double? accuracy, String? continent})
-
TautulliGeolocationInfo.fromJson(Map<
String, dynamic> json) -
Deserialize a JSON map to a TautulliGeolocationInfo object.
factory
Properties
- accuracy → double?
-
Approximate accuracy
final
- city → String?
-
City within the region.
final
- code → String?
-
Country code.
final
- continent → String?
-
Content of the IP address.
final
- country → String?
-
Country.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- latitude → double?
-
Approximate latitude coordinate
final
- longitude → double?
-
Approximate longitude coordinate
final
- postalCode → String?
-
Postal code.
final
- region → String?
-
Region within the country.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- timezone → String?
-
Timezone.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> - Serialize a TautulliGeolocationInfo object to a JSON map.
-
toString(
) → String -
Returns a JSON-encoded string version of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited