CubeMessageReactions.fromJson constructor
Implementation
CubeMessageReactions.fromJson(Map<String, dynamic> json) {
own = List.of(json['own']).map((reaction) => reaction as String).toSet();
total = Map.of(json['total'])
.map((key, value) => MapEntry(key as String, value as int));
}