toEntity method

  1. @override
MemberHasChatEntity toEntity({
  1. String? appId,
})
override

Implementation

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