toJson method
Implementation
Map<String, dynamic> toJson() {
final downloadSpeed = this.downloadSpeed;
final uploadSpeed = this.uploadSpeed;
return {
if (downloadSpeed != null) 'DownloadSpeed': downloadSpeed,
if (uploadSpeed != null) 'UploadSpeed': uploadSpeed,
};
}