AckMessage constructor

AckMessage({
  1. String? uid,
  2. NodeAddress? senderNodeAddress,
  3. String? sourceType,
  4. String? sourceMsgClassName,
  5. String? sourceUid,
  6. String? sourceId,
  7. bool? success,
  8. String? errorMessage,
})

Implementation

factory AckMessage({
  $core.String? uid,
  NodeAddress? senderNodeAddress,
  $core.String? sourceType,
  $core.String? sourceMsgClassName,
  $core.String? sourceUid,
  $core.String? sourceId,
  $core.bool? success,
  $core.String? errorMessage,
}) {
  final $result = create();
  if (uid != null) {
    $result.uid = uid;
  }
  if (senderNodeAddress != null) {
    $result.senderNodeAddress = senderNodeAddress;
  }
  if (sourceType != null) {
    $result.sourceType = sourceType;
  }
  if (sourceMsgClassName != null) {
    $result.sourceMsgClassName = sourceMsgClassName;
  }
  if (sourceUid != null) {
    $result.sourceUid = sourceUid;
  }
  if (sourceId != null) {
    $result.sourceId = sourceId;
  }
  if (success != null) {
    $result.success = success;
  }
  if (errorMessage != null) {
    $result.errorMessage = errorMessage;
  }
  return $result;
}