copyWith method Null safety
- {T? event,
- RTCSessionDescription? jsep}
Implementation
TypedEvent copyWith({
T? event,
RTCSessionDescription? jsep,
}) {
return TypedEvent(
event: event ?? this.event,
jsep: jsep ?? this.jsep,
);
}
TypedEvent copyWith({
T? event,
RTCSessionDescription? jsep,
}) {
return TypedEvent(
event: event ?? this.event,
jsep: jsep ?? this.jsep,
);
}