toFacetAttributeType method
Implementation
FacetAttributeType toFacetAttributeType() {
switch (this) {
case 'STRING':
return FacetAttributeType.string;
case 'BINARY':
return FacetAttributeType.binary;
case 'BOOLEAN':
return FacetAttributeType.boolean;
case 'NUMBER':
return FacetAttributeType.number;
case 'DATETIME':
return FacetAttributeType.datetime;
}
throw Exception('$this is not known in enum FacetAttributeType');
}