copyWith method
DisplayConditionsModel
copyWith({
- PrivilegeLevelRequired? privilegeLevelRequired,
- String? packageCondition,
- ConditionOverride? conditionOverride,
Implementation
DisplayConditionsModel copyWith({
PrivilegeLevelRequired? privilegeLevelRequired,
String? packageCondition,
ConditionOverride? conditionOverride,
}) {
return DisplayConditionsModel(
privilegeLevelRequired:
privilegeLevelRequired ?? this.privilegeLevelRequired,
packageCondition: packageCondition ?? this.packageCondition,
conditionOverride: conditionOverride ?? this.conditionOverride,
);
}