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