createDataChannel property
RTCDataChannel Function(String, [RTCDataChannelInit?])
get
createDataChannel
Implementation
_i3.RTCDataChannel Function(
_i2.String, [
_i3.RTCDataChannelInit?,
]) get createDataChannel => (
_i2.String p0, [
_i3.RTCDataChannelInit? p1,
]) =>
_i4.callMethod(
_i4.getProperty(
this,
'createDataChannel',
),
r'call',
[
this,
p0,
p1 ?? _i6.undefined,
],
);
set
createDataChannel
(RTCDataChannel value(String, [RTCDataChannelInit?]))
Implementation
set createDataChannel(
_i3.RTCDataChannel Function(
_i2.String, [
_i3.RTCDataChannelInit?,
]) value) {
_i4.setProperty(
this,
'createDataChannel',
_i4.allowInterop(value),
);
}