toEntity method
Implementation
@override
PostLikeEntity toEntity({String? appId}) {
return PostLikeEntity(
postId: postId,
postCommentId: (postCommentId != null) ? postCommentId : null,
memberId: memberId,
timestamp: (timestamp == null) ? null : timestamp!.millisecondsSinceEpoch,
appId: appId,
likeType: (likeType != null) ? likeType!.index : null,
);
}