Constructor
new Review(id, reviewSection)
Initializes this object.
- Source:
Parameters:
Name | Type | Description |
---|---|---|
id |
string
|
The id of the review. |
reviewSection |
exports.ReviewSection
|
The parent ReviewSection. |
Methods
(async) getDetailsAsync() → {Promise.<*>}
Gets the review details based on the passed id.
- Source:
Returns:
- Type:
-
Promise.<*>
A Promise of JSON data with review details.