PostAction.onDelete constructor

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

Delete the post

Implementation

const factory PostAction.onDelete(Post post, [dynamic extra]) = _OnDelete;