Reaction constructor

Reaction({
  1. required DateTime createdAt,
  2. Map<String, Object> custom = const {},
  3. required String messageId,
  4. required int score,
  5. required String type,
  6. required DateTime updatedAt,
  7. UserObject? user,
  8. String? userId,
})

Returns a new Reaction instance.

Implementation

Reaction({
  required this.createdAt,
  this.custom = const {},
  required this.messageId,
  required this.score,
  required this.type,
  required this.updatedAt,
  this.user,
  this.userId,
});