toJson method
Implementation
@visibleForTesting
Map<String, dynamic> toJson() => {
"imageData": _bytesToBase64(_imageData),
"imageUrl": _imageUrl,
}.clearNulls();
@visibleForTesting
Map<String, dynamic> toJson() => {
"imageData": _bytesToBase64(_imageData),
"imageUrl": _imageUrl,
}.clearNulls();