toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case InputResolution.sd:
      return 'SD';
    case InputResolution.hd:
      return 'HD';
    case InputResolution.uhd:
      return 'UHD';
  }
}