UrpMessageHeader constructor
UrpMessageHeader({
- int? seqNr,
- int? nonce,
- String? error,
- UrpDeviceIdentifier? target,
- UrpDeviceIdentifier? origin,
Implementation
factory UrpMessageHeader({
$core.int? seqNr,
$core.int? nonce,
$core.String? error,
UrpDeviceIdentifier? target,
UrpDeviceIdentifier? origin,
}) {
final $result = create();
if (seqNr != null) {
$result.seqNr = seqNr;
}
if (nonce != null) {
$result.nonce = nonce;
}
if (error != null) {
$result.error = error;
}
if (target != null) {
$result.target = target;
}
if (origin != null) {
$result.origin = origin;
}
return $result;
}