We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c8a1193 commit 61cc2ecCopy full SHA for 61cc2ec
firestore/lib/src/model/review.dart
@@ -43,7 +43,7 @@ class Review {
43
return Review._(
44
id: snapshot.id,
45
userId: _snapshot['userId'],
46
- rating: _snapshot['rating'],
+ rating: _snapshot['rating'].toDouble(),
47
text: _snapshot['text'],
48
userName: _snapshot['userName'],
49
timestamp: _snapshot['timestamp'],
0 commit comments