toJson method
Implementation
@visibleForTesting
Map<String, dynamic> toJson() => {
"downloadedBytes": downloadedBytes,
"totalBytes": totalBytes,
"progress": progress,
}.clearNulls();
@visibleForTesting
Map<String, dynamic> toJson() => {
"downloadedBytes": downloadedBytes,
"totalBytes": totalBytes,
"progress": progress,
}.clearNulls();