PrivateNotificationMessage constructor

PrivateNotificationMessage({
  1. String? uid,
  2. NodeAddress? senderNodeAddress,
  3. PrivateNotificationPayload? privateNotificationPayload,
})

Implementation

factory PrivateNotificationMessage({
  $core.String? uid,
  NodeAddress? senderNodeAddress,
  PrivateNotificationPayload? privateNotificationPayload,
}) {
  final $result = create();
  if (uid != null) {
    $result.uid = uid;
  }
  if (senderNodeAddress != null) {
    $result.senderNodeAddress = senderNodeAddress;
  }
  if (privateNotificationPayload != null) {
    $result.privateNotificationPayload = privateNotificationPayload;
  }
  return $result;
}