IPDetails.fromJson constructor
Implementation
factory IPDetails.fromJson(Map<String, dynamic> json) => IPDetails(
asn: json['asn'],
city: json['city'],
country: json['country'],
isp: json['isp'],
region: json['region'],
fraudScore: json['fraudScore']?.toDouble(),
latitude: json['latitude']?.toDouble(),
longitude: json['longitude']?.toDouble(),
);