copyWith method
Implementation
@override
MemberHasChatModel copyWith({
String? documentID,
String? memberId,
String? appId,
bool? hasUnread,
}) {
return MemberHasChatModel(
documentID: documentID ?? this.documentID,
memberId: memberId ?? this.memberId,
appId: appId ?? this.appId,
hasUnread: hasUnread ?? this.hasUnread,
);
}