RTCDataChannelInit constructor
RTCDataChannelInit({})
Implementation
factory RTCDataChannelInit(
{bool? ordered,
int? maxPacketLifeTime,
int? maxRetransmits,
String? protocol,
bool? negotiated,
int? id}) =>
RTCDataChannelInit._(
ordered: ordered ?? true,
maxPacketLifeTime: maxPacketLifeTime ?? undefined,
maxRetransmits: maxRetransmits ?? undefined,
protocol: protocol ?? '',
negotiated: negotiated ?? false,
id: id ?? undefined);