toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case BodyPart.face:
      return 'FACE';
    case BodyPart.head:
      return 'HEAD';
    case BodyPart.leftHand:
      return 'LEFT_HAND';
    case BodyPart.rightHand:
      return 'RIGHT_HAND';
  }
}