IpLocationModel class

Annotations
  • @JsonSerializable.new()

Constructors

IpLocationModel({required String? ip, required String? status, required String? country, required String? countryCode, required String? region, required String? regionName, required String? city, required String? zip, required double? lat, required double? lon, required String? timezone, required String? isp, required String? org, required String? as, required String? query})
IpLocationModel.fromJson(Map<String, dynamic> json)
从 JSON 创建 对象
factory

Properties

as String?
final
city String?
final
country String?
final
countryCode String?
final
hashCode int
The hash code for this object.
no setterinherited
ip String?
final
isp String?
final
lat double?
final
lon double?
final
org String?
final
query String?
final
region String?
final
regionName String?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
status String?
final
timezone String?
final
zip String?
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
将 对象转为 JSON
toString() String
A string representation of this object.
inherited

Operators

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