/// 收藏详情 Domain 实体 class FavouriteDetail { final int? id; final String relatedId; final String content; final int? typ; final int? messageId; final int? sendId; final int? chatId; final int? sendTime; const FavouriteDetail({ this.id, this.relatedId = '', this.content = '', this.typ, this.messageId, this.sendId, this.chatId, this.sendTime, }); FavouriteDetail copyWith({ int? id, String? relatedId, String? content, int? typ, int? messageId, int? sendId, int? chatId, int? sendTime, }) { return FavouriteDetail( id: id ?? this.id, relatedId: relatedId ?? this.relatedId, content: content ?? this.content, typ: typ ?? this.typ, messageId: messageId ?? this.messageId, sendId: sendId ?? this.sendId, chatId: chatId ?? this.chatId, sendTime: sendTime ?? this.sendTime, ); } }