toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case LandmarkType.eyeLeft:
      return 'eyeLeft';
    case LandmarkType.eyeRight:
      return 'eyeRight';
    case LandmarkType.nose:
      return 'nose';
    case LandmarkType.mouthLeft:
      return 'mouthLeft';
    case LandmarkType.mouthRight:
      return 'mouthRight';
    case LandmarkType.leftEyeBrowLeft:
      return 'leftEyeBrowLeft';
    case LandmarkType.leftEyeBrowRight:
      return 'leftEyeBrowRight';
    case LandmarkType.leftEyeBrowUp:
      return 'leftEyeBrowUp';
    case LandmarkType.rightEyeBrowLeft:
      return 'rightEyeBrowLeft';
    case LandmarkType.rightEyeBrowRight:
      return 'rightEyeBrowRight';
    case LandmarkType.rightEyeBrowUp:
      return 'rightEyeBrowUp';
    case LandmarkType.leftEyeLeft:
      return 'leftEyeLeft';
    case LandmarkType.leftEyeRight:
      return 'leftEyeRight';
    case LandmarkType.leftEyeUp:
      return 'leftEyeUp';
    case LandmarkType.leftEyeDown:
      return 'leftEyeDown';
    case LandmarkType.rightEyeLeft:
      return 'rightEyeLeft';
    case LandmarkType.rightEyeRight:
      return 'rightEyeRight';
    case LandmarkType.rightEyeUp:
      return 'rightEyeUp';
    case LandmarkType.rightEyeDown:
      return 'rightEyeDown';
    case LandmarkType.noseLeft:
      return 'noseLeft';
    case LandmarkType.noseRight:
      return 'noseRight';
    case LandmarkType.mouthUp:
      return 'mouthUp';
    case LandmarkType.mouthDown:
      return 'mouthDown';
    case LandmarkType.leftPupil:
      return 'leftPupil';
    case LandmarkType.rightPupil:
      return 'rightPupil';
    case LandmarkType.upperJawlineLeft:
      return 'upperJawlineLeft';
    case LandmarkType.midJawlineLeft:
      return 'midJawlineLeft';
    case LandmarkType.chinBottom:
      return 'chinBottom';
    case LandmarkType.midJawlineRight:
      return 'midJawlineRight';
    case LandmarkType.upperJawlineRight:
      return 'upperJawlineRight';
  }
}