toValue method
Implementation
String toValue() {
switch (this) {
case StackErrorCode.storageConnectorError:
return 'STORAGE_CONNECTOR_ERROR';
case StackErrorCode.internalServiceError:
return 'INTERNAL_SERVICE_ERROR';
}
}
String toValue() {
switch (this) {
case StackErrorCode.storageConnectorError:
return 'STORAGE_CONNECTOR_ERROR';
case StackErrorCode.internalServiceError:
return 'INTERNAL_SERVICE_ERROR';
}
}