toH265Profile method

H265Profile toH265Profile()

Implementation

H265Profile toH265Profile() {
  switch (this) {
    case 'MAIN':
      return H265Profile.main;
    case 'MAIN_10BIT':
      return H265Profile.main_10bit;
  }
  throw Exception('$this is not known in enum H265Profile');
}