fromJson static method
Implementation
@visibleForTesting
static ImageInputData? fromJson(jsonObject) {
if (jsonObject == null) return null;
var result = ImageInputData(_bytesFromBase64(jsonObject["image"])!);
result._pageIndex = jsonObject["pageIndex"];
result._light = Lights.getByValue(jsonObject["light"])!;
return result;
}