copyWith method

LiveTalkMessageEntity copyWith({
  1. int? createdDate,
  2. int? lastUpdatedDate,
  3. String? id,
  4. String? tenantId,
  5. bool? isDeleted,
  6. String? roomId,
  7. String? memberType,
  8. String? type,
  9. String? action,
  10. String? content,
  11. String? kind,
  12. String? receivingGroupId,
  13. String? uuid,
  14. GuestInfo? guestInfo,
  15. LiveTalkMessageEntity? quoteMessage,
})

Implementation

LiveTalkMessageEntity copyWith({
  int? createdDate,
  int? lastUpdatedDate,
  String? id,
  String? tenantId,
  bool? isDeleted,
  String? roomId,
  String? memberType,
  String? type,
  String? action,
  String? content,
  String? kind,
  String? receivingGroupId,
  String? uuid,
  GuestInfo? guestInfo,
  LiveTalkMessageEntity? quoteMessage,
}) =>
    LiveTalkMessageEntity(
      createdDate: createdDate ?? this.createdDate,
      lastUpdatedDate: lastUpdatedDate ?? this.lastUpdatedDate,
      id: id ?? this.id,
      tenantId: tenantId ?? this.tenantId,
      isDeleted: isDeleted ?? this.isDeleted,
      roomId: roomId ?? this.roomId,
      memberType: memberType ?? this.memberType,
      type: type ?? this.type,
      action: action ?? this.action,
      content: content ?? this.content,
      kind: kind ?? this.kind,
      receivingGroupId: receivingGroupId ?? this.receivingGroupId,
      uuid: uuid ?? this.uuid,
      guestInfo: guestInfo ?? this.guestInfo,
      quoteMessage: quoteMessage ?? this.quoteMessage,
    );