Post constructor

const Post({
  1. Key? key,
  2. PostType postType = PostType.normal,
  3. Post? post,
})

Implementation

const Post({Key? key, this.postType = PostType.normal, this.post})
    : super(key: key);