Solian/lib/models/reaction.dart
2024-04-15 23:08:32 +08:00

13 lines
325 B
Dart

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),
'thumb_down': ReactInfo(icon: '👎', attitude: -1),
'clap': ReactInfo(icon: '👏', attitude: 1),
};