toJson method
Implementation
@visibleForTesting
Map<String, dynamic> toJson() => {
"image": _bytesToBase64(image),
"imageType": imageType.value,
"tag": tag
}.clearNulls();
@visibleForTesting
Map<String, dynamic> toJson() => {
"image": _bytesToBase64(image),
"imageType": imageType.value,
"tag": tag
}.clearNulls();