toConfigurationSetAttribute method

ConfigurationSetAttribute toConfigurationSetAttribute()

Implementation

ConfigurationSetAttribute toConfigurationSetAttribute() {
  switch (this) {
    case 'eventDestinations':
      return ConfigurationSetAttribute.eventDestinations;
    case 'trackingOptions':
      return ConfigurationSetAttribute.trackingOptions;
    case 'deliveryOptions':
      return ConfigurationSetAttribute.deliveryOptions;
    case 'reputationOptions':
      return ConfigurationSetAttribute.reputationOptions;
  }
  throw Exception('$this is not known in enum ConfigurationSetAttribute');
}