toBatchDeleteImportDataErrorCode method
Implementation
BatchDeleteImportDataErrorCode toBatchDeleteImportDataErrorCode() {
switch (this) {
case 'NOT_FOUND':
return BatchDeleteImportDataErrorCode.notFound;
case 'INTERNAL_SERVER_ERROR':
return BatchDeleteImportDataErrorCode.internalServerError;
case 'OVER_LIMIT':
return BatchDeleteImportDataErrorCode.overLimit;
}
throw Exception(
'$this is not known in enum BatchDeleteImportDataErrorCode');
}