PostAction.onLike constructor

const PostAction.onLike(
  1. Post post, [
  2. dynamic extra
])

Like/Unlike the post

Implementation

const factory PostAction.onLike(Post post, [dynamic extra]) = _OnLike;