toDestinationType method

DestinationType toDestinationType()

Implementation

DestinationType toDestinationType() {
  switch (this) {
    case 'S3':
      return DestinationType.s3;
  }
  throw Exception('$this is not known in enum DestinationType');
}