mirror of
https://github.com/HChaZZY/PiliPlus.git
synced 2025-12-20 09:06:36 +08:00
12 lines
237 B
Dart
12 lines
237 B
Dart
class Rating {
|
|
int? count;
|
|
double? score;
|
|
|
|
Rating({this.count, this.score});
|
|
|
|
factory Rating.fromJson(Map<String, dynamic> json) => Rating(
|
|
count: json['count'] as int?,
|
|
score: (json['score'] as num?)?.toDouble(),
|
|
);
|
|
}
|