toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case ReturnItemCollectionMetrics.size:
      return 'SIZE';
    case ReturnItemCollectionMetrics.none:
      return 'NONE';
  }
}