toVideoDescriptionScalingBehavior method

VideoDescriptionScalingBehavior toVideoDescriptionScalingBehavior()

Implementation

VideoDescriptionScalingBehavior toVideoDescriptionScalingBehavior() {
  switch (this) {
    case 'DEFAULT':
      return VideoDescriptionScalingBehavior.$default;
    case 'STRETCH_TO_OUTPUT':
      return VideoDescriptionScalingBehavior.stretchToOutput;
  }
  throw Exception(
      '$this is not known in enum VideoDescriptionScalingBehavior');
}