toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case PlacementStrategyType.random:
      return 'random';
    case PlacementStrategyType.spread:
      return 'spread';
    case PlacementStrategyType.binpack:
      return 'binpack';
  }
}