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.
19 lines
385 B
19 lines
385 B
10 months ago
|
class IpDomain {
|
||
|
int? id;
|
||
|
String? ipOrDomain;
|
||
|
|
||
|
IpDomain({this.id, this.ipOrDomain});
|
||
|
|
||
|
factory IpDomain.fromJson(Map<String, dynamic> json) {
|
||
|
return IpDomain(
|
||
|
id: json['id'] ? json['id'] : 0,
|
||
|
ipOrDomain: json['ipOrDomain'] ? json['ipOrDomain'] : '',
|
||
|
);
|
||
|
}
|
||
|
|
||
|
Map<String, dynamic> toJson() => {
|
||
|
'id': id,
|
||
|
'ipOrDomain': ipOrDomain,
|
||
|
};
|
||
|
}
|