Reaction constructor

Reaction({
  1. required String key,
  2. required List<String> userIds,
  3. required int updatedAt,
})

Implementation

Reaction({
  required this.key,
  required this.userIds,
  required this.updatedAt,
}) {
  updatedAts = {for (var e in userIds) e: updatedAt};
}