copy static method

Implementation

static SctpStreamParameters copy(SctpStreamParameters old) {
  return SctpStreamParameters(
    streamId: old.streamId,
    ordered: old.ordered,
    maxPacketLifeTime: old.maxPacketLifeTime,
    maxRetransmits: old.maxRetransmits,
    priority: old.priority,
    label: old.label,
    protocol: old.protocol,
  );
}