toEntity method
Implementation
DisplayConditionsEntity toEntity({String? appId}) {
return DisplayConditionsEntity(
privilegeLevelRequired: (privilegeLevelRequired != null)
? privilegeLevelRequired!.index
: null,
packageCondition: (packageCondition != null) ? packageCondition : null,
conditionOverride:
(conditionOverride != null) ? conditionOverride!.index : null,
);
}