ReceiverMessage constructor

ReceiverMessage({
  1. Key? key,
  2. required String text,
  3. required bool isShowDate,
  4. required bool isShowUser,
  5. String? date,
  6. bool? isShowQuickReply,
  7. List<QuickReplyMessage>? quickReply,
  8. void onSelectQuickReply(
    1. String,
    2. String
    )?,
  9. bool? isLiked,
  10. bool? isDisLiked,
  11. void onLikeAction(
    1. bool,
    2. String?
    )?,
  12. bool? showAction,
})

Implementation

ReceiverMessage({
  super.key,
  required this.text,
  required this.isShowDate,
  required this.isShowUser,
  this.date,
  this.isShowQuickReply,
  this.quickReply,
  this.onSelectQuickReply,
  this.isLiked,
  this.isDisLiked,
  this.onLikeAction,
  this.showAction,
});