getReviews static method
Implementation
static List<Review> getReviews() {
List<Review> items = [];
for (int i = 0; i < review_name.length; i++) {
Review obj = new Review();
obj.image = review_image[i];
obj.name = review_name[i];
obj.brief = review_brief[i];
obj.rating = review_rating[i];
obj.timeRating = review_time[i];
obj.comment = review_comment[i];
items.add(obj);
}
return items;
}