copyWith method

MemberHasChatEntity copyWith({
  1. String? documentID,
  2. String? memberId,
  3. String? appId,
  4. bool? hasUnread,
})

Implementation

MemberHasChatEntity copyWith({
  String? documentID,
  String? memberId,
  String? appId,
  bool? hasUnread,
}) {
  return MemberHasChatEntity(
    memberId: memberId ?? this.memberId,
    appId: appId ?? this.appId,
    hasUnread: hasUnread ?? this.hasUnread,
  );
}