13 lines
325 B
Dart
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),
|
|
};
|