ProtoSctpStreamParameters constructor

ProtoSctpStreamParameters({
  1. int? streamId,
  2. bool? ordered,
  3. int? maxPacketLifeTime,
  4. int? maxRetransmits,
})

Implementation

factory ProtoSctpStreamParameters({
  $core.int? streamId,
  $core.bool? ordered,
  $core.int? maxPacketLifeTime,
  $core.int? maxRetransmits,
}) {
  final $result = create();
  if (streamId != null) {
    $result.streamId = streamId;
  }
  if (ordered != null) {
    $result.ordered = ordered;
  }
  if (maxPacketLifeTime != null) {
    $result.maxPacketLifeTime = maxPacketLifeTime;
  }
  if (maxRetransmits != null) {
    $result.maxRetransmits = maxRetransmits;
  }
  return $result;
}