toEntity method
Implementation
@override
PolicyPresentationEntity toEntity({String? appId}) {
return PolicyPresentationEntity(
appId: appId,
description: (description != null) ? description : null,
policiesId: (policies != null) ? policies!.documentID : null,
conditions:
(conditions != null) ? conditions!.toEntity(appId: appId) : null,
);
}