toEntity method
Implementation
@override
ProfileEntity toEntity({String? appId}) {
return ProfileEntity(
appId: appId,
description: (description != null) ? description : null,
feedId: (feed != null) ? feed!.documentID : null,
backgroundOverride: (backgroundOverride != null)
? backgroundOverride!.toEntity(appId: appId)
: null,
conditions:
(conditions != null) ? conditions!.toEntity(appId: appId) : null,
);
}