toModelSource method

ModelSource toModelSource()

Implementation

ModelSource toModelSource() {
  switch (this) {
    case 'SAGEMAKER':
      return ModelSource.sagemaker;
  }
  throw Exception('$this is not known in enum ModelSource');
}