toBatchPredictionFilterVariable method
Implementation
BatchPredictionFilterVariable toBatchPredictionFilterVariable() {
switch (this) {
case 'CreatedAt':
return BatchPredictionFilterVariable.createdAt;
case 'LastUpdatedAt':
return BatchPredictionFilterVariable.lastUpdatedAt;
case 'Status':
return BatchPredictionFilterVariable.status;
case 'Name':
return BatchPredictionFilterVariable.name;
case 'IAMUser':
return BatchPredictionFilterVariable.iAMUser;
case 'MLModelId':
return BatchPredictionFilterVariable.mLModelId;
case 'DataSourceId':
return BatchPredictionFilterVariable.dataSourceId;
case 'DataURI':
return BatchPredictionFilterVariable.dataURI;
}
throw Exception('$this is not known in enum BatchPredictionFilterVariable');
}