HivePostComments constructor

const HivePostComments({
  1. Key? key,
  2. required String author,
  3. required String permlink,
  4. void onUpvoteComment(
    1. String author,
    2. String permlink
    )?,
  5. void onReplyComment(
    1. String author,
    2. String permlink
    )?,
  6. String? currentUser,
})

Implementation

const HivePostComments({
  super.key,
  required this.author,
  required this.permlink,
  this.onUpvoteComment,
  this.onReplyComment,
  this.currentUser,
});