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