Connect constructor
Implementation
factory Connect({
Device? sender,
Device? receiver,
}) {
final $result = create();
if (sender != null) {
$result.sender = sender;
}
if (receiver != null) {
$result.receiver = receiver;
}
return $result;
}