You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
505 B
25 lines
505 B
import 'package:json_annotation/json_annotation.dart'; |
|
|
|
part 'ip_data.g.dart'; |
|
|
|
@JsonSerializable(explicitToJson: true) |
|
class IpData { |
|
String? ip = ''; |
|
String? pro = ''; |
|
String? proCode = ''; |
|
String? city = ''; |
|
String? cityCode = ''; |
|
String? region = ''; |
|
String? regionCode = ''; |
|
String? addr = ''; |
|
String? regionNames = ''; |
|
String? err = ''; |
|
|
|
IpData(); |
|
|
|
factory IpData.fromJson(Map<String, dynamic> json) => _$IpDataFromJson(json); |
|
|
|
Map<String, dynamic> toJson() => _$IpDataToJson(this); |
|
|
|
|
|
} |