ObjectReview constructor

ObjectReview({
  1. Timestamp? created,
  2. AccountUserId? reviewer,
  3. StoredObjectId? objectId,
  4. String? title,
  5. String? review,
  6. double? rating,
})

Implementation

factory ObjectReview({
  $0.Timestamp? created,
  $1.AccountUserId? reviewer,
  $1.StoredObjectId? objectId,
  $core.String? title,
  $core.String? review,
  $core.double? rating,
}) {
  final result = create();
  if (created != null) result.created = created;
  if (reviewer != null) result.reviewer = reviewer;
  if (objectId != null) result.objectId = objectId;
  if (title != null) result.title = title;
  if (review != null) result.review = review;
  if (rating != null) result.rating = rating;
  return result;
}