copyWith method

RCKMessageReadReceiptConfig copyWith({
  1. bool? enabled,
  2. bool? showIndicator,
  3. RCKReadReceiptIndicatorConfig? indicatorConfig,
  4. RCKReadReceiptDetailConfig? detailConfig,
})

Implementation

RCKMessageReadReceiptConfig copyWith({
  bool? enabled,
  bool? showIndicator,
  RCKReadReceiptIndicatorConfig? indicatorConfig,
  RCKReadReceiptDetailConfig? detailConfig,
}) {
  return RCKMessageReadReceiptConfig(
    enabled: enabled ?? this.enabled,
    showIndicator: showIndicator ?? this.showIndicator,
    indicatorConfig: indicatorConfig ?? this.indicatorConfig,
    detailConfig: detailConfig ?? this.detailConfig,
  );
}