toAttributeType method

AttributeType toAttributeType()

Implementation

AttributeType toAttributeType() {
  switch (this) {
    case 'INCLUSIVE':
      return AttributeType.inclusive;
    case 'EXCLUSIVE':
      return AttributeType.exclusive;
  }
  throw Exception('$this is not known in enum AttributeType');
}