toDkimStatus method
Implementation
DkimStatus toDkimStatus() {
switch (this) {
case 'PENDING':
return DkimStatus.pending;
case 'SUCCESS':
return DkimStatus.success;
case 'FAILED':
return DkimStatus.failed;
case 'TEMPORARY_FAILURE':
return DkimStatus.temporaryFailure;
case 'NOT_STARTED':
return DkimStatus.notStarted;
}
throw Exception('$this is not known in enum DkimStatus');
}