toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case DkimStatus.pending:
      return 'PENDING';
    case DkimStatus.success:
      return 'SUCCESS';
    case DkimStatus.failed:
      return 'FAILED';
    case DkimStatus.temporaryFailure:
      return 'TEMPORARY_FAILURE';
    case DkimStatus.notStarted:
      return 'NOT_STARTED';
  }
}