text property
The text to display in this box.
Implementation
String get text {
switch(analysis.testResult) {
case ScienceResult.extinct: return "Extinct";
case ScienceResult.extant: return "Extant";
case ScienceResult.notPresent: return "Not Present";
case ScienceResult.inconclusive: return "Inconclusive";
case ScienceResult.loading: return "Collecting data...";
}
}