Codec constructor

Codec({
  1. String? mimeType,
  2. String? scalabilityMode,
  3. String? fmtp,
})

Implementation

factory Codec({
  $core.String? mimeType,
  $core.String? scalabilityMode,
  $core.String? fmtp,
}) {
  final $result = create();
  if (mimeType != null) {
    $result.mimeType = mimeType;
  }
  if (scalabilityMode != null) {
    $result.scalabilityMode = scalabilityMode;
  }
  if (fmtp != null) {
    $result.fmtp = fmtp;
  }
  return $result;
}