Solian/lib/models/reaction.dart

14 lines
377 B
Dart
Raw Normal View History

2024-04-15 15:08:32 +00:00
class ReactInfo {
final String icon;
final int attitude;
ReactInfo({required this.icon, required this.attitude});
}
final Map<String, ReactInfo> reactions = {
'thumb_up': ReactInfo(icon: '👍', attitude: 1),
2024-04-15 15:40:36 +00:00
'thumb_down': ReactInfo(icon: '👎', attitude: 2),
'just_okay': ReactInfo(icon: '😅', attitude: 0),
2024-04-15 15:08:32 +00:00
'clap': ReactInfo(icon: '👏', attitude: 1),
};