toAlertTargetType method

AlertTargetType toAlertTargetType()

Implementation

AlertTargetType toAlertTargetType() {
  switch (this) {
    case 'SNS':
      return AlertTargetType.sns;
  }
  throw Exception('$this is not known in enum AlertTargetType');
}