RTCDataChannelInit constructor

RTCDataChannelInit({
  1. num? id,
  2. num? maxPacketLifeTime,
  3. num? maxRetransmits,
  4. bool? negotiated,
  5. bool? ordered,
  6. String? protocol,
})

Implementation

factory RTCDataChannelInit({
  _i2.num? id,
  _i2.num? maxPacketLifeTime,
  _i2.num? maxRetransmits,
  _i2.bool? negotiated,
  _i2.bool? ordered,
  _i2.String? protocol,
}) =>
    RTCDataChannelInit._(
      id: id,
      maxPacketLifeTime: maxPacketLifeTime,
      maxRetransmits: maxRetransmits,
      negotiated: negotiated,
      ordered: ordered,
      protocol: protocol,
    );