toOwnerOverride method

OwnerOverride toOwnerOverride()

Implementation

OwnerOverride toOwnerOverride() {
  switch (this) {
    case 'Destination':
      return OwnerOverride.destination;
  }
  throw Exception('$this is not known in enum OwnerOverride');
}