toAdMarkers method

AdMarkers toAdMarkers()

Implementation

AdMarkers toAdMarkers() {
  switch (this) {
    case 'NONE':
      return AdMarkers.none;
    case 'SCTE35_ENHANCED':
      return AdMarkers.scte35Enhanced;
    case 'PASSTHROUGH':
      return AdMarkers.passthrough;
  }
  throw Exception('$this is not known in enum AdMarkers');
}