toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case ScalingBehavior.$default:
      return 'DEFAULT';
    case ScalingBehavior.stretchToOutput:
      return 'STRETCH_TO_OUTPUT';
  }
}