toValue method
Implementation
String toValue() {
switch (this) {
case MailboxExportJobState.running:
return 'RUNNING';
case MailboxExportJobState.completed:
return 'COMPLETED';
case MailboxExportJobState.failed:
return 'FAILED';
case MailboxExportJobState.cancelled:
return 'CANCELLED';
}
}