toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case InputRotate.degree_0:
      return 'DEGREE_0';
    case InputRotate.degrees_90:
      return 'DEGREES_90';
    case InputRotate.degrees_180:
      return 'DEGREES_180';
    case InputRotate.degrees_270:
      return 'DEGREES_270';
    case InputRotate.auto:
      return 'AUTO';
  }
}