toJson method
Implementation
Map<String, dynamic> toJson() {
final _json = <String, dynamic>{};
if (lan != null) {
_json[r'lan'] = lan;
}
if (wan != null) {
_json[r'wan'] = wan;
}
if (wifi != null) {
_json[r'wifi'] = wifi;
}
if (accessPoint != null) {
_json[r'accessPoint'] = accessPoint;
}
if (geolocator != null) {
_json[r'geolocator'] = geolocator;
}
if (modem != null) {
_json[r'modem'] = modem;
}
if (bluetooth != null) {
_json[r'bluetooth'] = bluetooth;
}
return _json;
}