PrefixedSealedAndSignedMessage constructor

PrefixedSealedAndSignedMessage({
  1. NodeAddress? nodeAddress,
  2. SealedAndSigned? sealedAndSigned,
  3. List<int>? addressPrefixHash,
  4. String? uid,
})

Implementation

factory PrefixedSealedAndSignedMessage({
  NodeAddress? nodeAddress,
  SealedAndSigned? sealedAndSigned,
  $core.List<$core.int>? addressPrefixHash,
  $core.String? uid,
}) {
  final $result = create();
  if (nodeAddress != null) {
    $result.nodeAddress = nodeAddress;
  }
  if (sealedAndSigned != null) {
    $result.sealedAndSigned = sealedAndSigned;
  }
  if (addressPrefixHash != null) {
    $result.addressPrefixHash = addressPrefixHash;
  }
  if (uid != null) {
    $result.uid = uid;
  }
  return $result;
}