SendDataRequest constructor
SendDataRequest({})
Implementation
factory SendDataRequest({
$core.String? roomId,
$core.String? payload,
$core.String? label,
$core.Iterable<$core.String>? peers,
$core.bool? admin,
}) {
final $result = create();
if (roomId != null) {
$result.roomId = roomId;
}
if (payload != null) {
$result.payload = payload;
}
if (label != null) {
$result.label = label;
}
if (peers != null) {
$result.peers.addAll(peers);
}
if (admin != null) {
$result.admin = admin;
}
return $result;
}