toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case ProtectiveEquipmentType.faceCover:
      return 'FACE_COVER';
    case ProtectiveEquipmentType.handCover:
      return 'HAND_COVER';
    case ProtectiveEquipmentType.headCover:
      return 'HEAD_COVER';
  }
}