ReactionOperation constructor

const ReactionOperation(
  1. String userId,
  2. String reaction,
  3. ReactionOperate operate
)

Reaction 操作。

Param userId 操作者的用户 ID。

Param reaction 发生变化的 Reaction。

Param operate 具体 Reaction 操作类型。

Implementation

const ReactionOperation(
  this.userId,
  this.reaction,
  this.operate,
);