MockMailboxPayload constructor

MockMailboxPayload({
  1. String? message,
  2. NodeAddress? senderNodeAddress,
  3. String? uid,
})

Implementation

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