ProtoRtpHeaderExtension constructor

ProtoRtpHeaderExtension({
  1. String? kind,
  2. String? uri,
  3. int? preferredId,
  4. bool? preferredEncrypt,
  5. String? direction,
})

Implementation

factory ProtoRtpHeaderExtension({
  $core.String? kind,
  $core.String? uri,
  $core.int? preferredId,
  $core.bool? preferredEncrypt,
  $core.String? direction,
}) {
  final $result = create();
  if (kind != null) {
    $result.kind = kind;
  }
  if (uri != null) {
    $result.uri = uri;
  }
  if (preferredId != null) {
    $result.preferredId = preferredId;
  }
  if (preferredEncrypt != null) {
    $result.preferredEncrypt = preferredEncrypt;
  }
  if (direction != null) {
    $result.direction = direction;
  }
  return $result;
}