StreamData constructor
StreamData({
- Stream? stream,
- UserPresence? sender,
- String? data,
- bool? reliable,
Implementation
factory StreamData({
Stream? stream,
UserPresence? sender,
$core.String? data,
$core.bool? reliable,
}) {
final _result = create();
if (stream != null) {
_result.stream = stream;
}
if (sender != null) {
_result.sender = sender;
}
if (data != null) {
_result.data = data;
}
if (reliable != null) {
_result.reliable = reliable;
}
return _result;
}