toPublishingStatus method
Implementation
PublishingStatus toPublishingStatus() {
switch (this) {
case 'PENDING_VERIFICATION':
return PublishingStatus.pendingVerification;
case 'PUBLISHING':
return PublishingStatus.publishing;
case 'UNABLE_TO_PUBLISH_FIX_DESTINATION_PROPERTY':
return PublishingStatus.unableToPublishFixDestinationProperty;
case 'STOPPED':
return PublishingStatus.stopped;
}
throw Exception('$this is not known in enum PublishingStatus');
}