copyWith method

DisplayConditionsEntity copyWith({
  1. int? privilegeLevelRequired,
  2. String? packageCondition,
  3. int? conditionOverride,
})

Implementation

DisplayConditionsEntity copyWith({
  int? privilegeLevelRequired,
  String? packageCondition,
  int? conditionOverride,
}) {
  return DisplayConditionsEntity(
    privilegeLevelRequired:
        privilegeLevelRequired ?? this.privilegeLevelRequired,
    packageCondition: packageCondition ?? this.packageCondition,
    conditionOverride: conditionOverride ?? this.conditionOverride,
  );
}