toReportStateType method
Implementation
ReportStateType toReportStateType() {
switch (this) {
case 'STARTED':
return ReportStateType.started;
case 'INPROGRESS':
return ReportStateType.inprogress;
case 'COMPLETE':
return ReportStateType.complete;
}
throw Exception('$this is not known in enum ReportStateType');
}