toStatusCode method
Implementation
StatusCode toStatusCode() {
switch (this) {
case 'Complete':
return StatusCode.complete;
case 'InternalError':
return StatusCode.internalError;
case 'PartialData':
return StatusCode.partialData;
}
throw Exception('$this is not known in enum StatusCode');
}