toOutpostMode method
Implementation
OutpostMode toOutpostMode() {
switch (this) {
case 'single-outpost':
return OutpostMode.singleOutpost;
case 'cross-outpost':
return OutpostMode.crossOutpost;
}
throw Exception('$this is not known in enum OutpostMode');
}