toLocationStatusType method

LocationStatusType toLocationStatusType()

Implementation

LocationStatusType toLocationStatusType() {
  switch (this) {
    case 'DOCUMENTED':
      return LocationStatusType.documented;
    case 'UNDOCUMENTED':
      return LocationStatusType.undocumented;
  }
  throw Exception('$this is not known in enum LocationStatusType');
}