issueDescription property
String
get
issueDescription
Returns a user-friendly description of the lighting issue.
Implementation
String get issueDescription {
switch (issue) {
case LightingIssue.tooBright:
return 'Too bright. Move away from direct light.';
case LightingIssue.tooWarm:
return 'Too dark. Move to a brighter area.';
case LightingIssue.lowContrast:
return 'Low contrast. Ensure even lighting.';
case LightingIssue.overexposed:
return 'Overexposed areas detected. Avoid harsh lighting.';
case LightingIssue.underexposed:
return 'Underexposed areas detected. Improve lighting.';
case LightingIssue.extractionError:
return 'Unable to analyze lighting. Try again.';
case null:
return 'Lighting looks good!';
}
}