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.
30 lines
574 B
30 lines
574 B
3 days ago
|
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);
|
||
|
|
||
|
}
|