toFacetStyle method

FacetStyle toFacetStyle()

Implementation

FacetStyle toFacetStyle() {
  switch (this) {
    case 'STATIC':
      return FacetStyle.static;
    case 'DYNAMIC':
      return FacetStyle.dynamic;
  }
  throw Exception('$this is not known in enum FacetStyle');
}