toEntity method
Implementation
@override
ChatMemberInfoEntity toEntity({String? appId}) {
return ChatMemberInfoEntity(
authorId: authorId,
appId: appId,
roomId: (roomId != null) ? roomId : null,
timestamp: (timestamp == null) ? null : timestamp!.millisecondsSinceEpoch,
accessibleByGroup:
(accessibleByGroup != null) ? accessibleByGroup!.index : null,
accessibleByMembers:
(accessibleByMembers != null) ? accessibleByMembers : null,
readAccess: (readAccess != null) ? readAccess : null,
);
}