toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case DsnAction.failed:
      return 'failed';
    case DsnAction.delayed:
      return 'delayed';
    case DsnAction.delivered:
      return 'delivered';
    case DsnAction.relayed:
      return 'relayed';
    case DsnAction.expanded:
      return 'expanded';
  }
}