toDimensionType method

DimensionType toDimensionType()

Implementation

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