toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case MotionImagePlayback.once:
      return 'ONCE';
    case MotionImagePlayback.repeat:
      return 'REPEAT';
  }
}