toNetworkOrigin method

NetworkOrigin toNetworkOrigin()

Implementation

NetworkOrigin toNetworkOrigin() {
  switch (this) {
    case 'Internet':
      return NetworkOrigin.internet;
    case 'VPC':
      return NetworkOrigin.vpc;
  }
  throw Exception('$this is not known in enum NetworkOrigin');
}