toJson method
Implementation
Map<String, dynamic> toJson() {
final _json = <String, dynamic>{};
if (device != null) {
_json[r'device'] = device;
}
if (connection != null) {
_json[r'connection'] = connection;
}
if (ipv4 != null) {
_json[r'ipv4'] = ipv4;
}
if (statistics != null) {
_json[r'statistics'] = statistics;
}
return _json;
}