toJson method
Implementation
Map<String, dynamic> toJson() {
final _json = <String, dynamic>{};
if (refreshRateMs != null) {
_json[r'refreshRateMs'] = refreshRateMs;
}
if (txBytes != null) {
_json[r'txBytes'] = txBytes;
}
if (rxBytes != null) {
_json[r'rxBytes'] = rxBytes;
}
return _json;
}