toModelPackageType method
Implementation
ModelPackageType toModelPackageType() {
switch (this) {
case 'Versioned':
return ModelPackageType.versioned;
case 'Unversioned':
return ModelPackageType.unversioned;
case 'Both':
return ModelPackageType.both;
}
throw Exception('$this is not known in enum ModelPackageType');
}