copyWith method Null safety
- {MediaStream? stream,
- MediaStreamTrack? track,
- String? mid,
- bool? flowing}
Implementation
RemoteTrack copyWith({
MediaStream? stream,
MediaStreamTrack? track,
String? mid,
bool? flowing,
}) {
return new RemoteTrack(
stream: stream ?? this.stream,
track: track ?? this.track,
mid: mid ?? this.mid,
flowing: flowing ?? this.flowing,
);
}