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