toFeatureType method
Implementation
FeatureType toFeatureType() {
switch (this) {
case 'Integral':
return FeatureType.integral;
case 'Fractional':
return FeatureType.fractional;
case 'String':
return FeatureType.string;
}
throw Exception('$this is not known in enum FeatureType');
}