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.
29 lines
574 B
29 lines
574 B
import 'package:json_annotation/json_annotation.dart'; |
|
|
|
part 'mip_data.g.dart'; |
|
|
|
@JsonSerializable(explicitToJson: true) |
|
class MIpData { |
|
String? ret; |
|
Mip? data; |
|
|
|
MIpData(); |
|
|
|
factory MIpData.fromJson(Map<String, dynamic> json) => _$MIpDataFromJson(json); |
|
|
|
Map<String, dynamic> toJson() => _$MIpDataToJson(this); |
|
|
|
} |
|
|
|
@JsonSerializable(explicitToJson: true) |
|
class Mip { |
|
String? ip; |
|
List<String>? location; |
|
|
|
|
|
Mip({this.ip, this.location}); |
|
|
|
factory Mip.fromJson(Map<String, dynamic> json) => _$MipFromJson(json); |
|
Map<String, dynamic> toJson() => _$MipToJson(this); |
|
|
|
}
|
|
|