toEntity method
Implementation
@override
MemberHasChatEntity toEntity({String? appId}) {
return MemberHasChatEntity(
memberId: memberId,
appId: appId,
hasUnread: (hasUnread != null) ? hasUnread : null,
);
}
@override
MemberHasChatEntity toEntity({String? appId}) {
return MemberHasChatEntity(
memberId: memberId,
appId: appId,
hasUnread: (hasUnread != null) ? hasUnread : null,
);
}