toEntity method

DisplayConditionsEntity toEntity({
  1. String? appId,
})

Implementation

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