toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case TimecodeBurninPosition.topCenter:
      return 'TOP_CENTER';
    case TimecodeBurninPosition.topLeft:
      return 'TOP_LEFT';
    case TimecodeBurninPosition.topRight:
      return 'TOP_RIGHT';
    case TimecodeBurninPosition.middleLeft:
      return 'MIDDLE_LEFT';
    case TimecodeBurninPosition.middleCenter:
      return 'MIDDLE_CENTER';
    case TimecodeBurninPosition.middleRight:
      return 'MIDDLE_RIGHT';
    case TimecodeBurninPosition.bottomLeft:
      return 'BOTTOM_LEFT';
    case TimecodeBurninPosition.bottomCenter:
      return 'BOTTOM_CENTER';
    case TimecodeBurninPosition.bottomRight:
      return 'BOTTOM_RIGHT';
  }
}