copyWithWrapped method
Implementation
LiteralJsonSchemaProperty copyWithWrapped(
{Wrapped<enums.LiteralJsonSchemaPropertyType>? type,
Wrapped<String?>? description,
Wrapped<String?>? dynamicVariable,
Wrapped<dynamic>? constantValue}) {
return LiteralJsonSchemaProperty(
type: (type != null ? type.value : this.type),
description:
(description != null ? description.value : this.description),
dynamicVariable: (dynamicVariable != null
? dynamicVariable.value
: this.dynamicVariable),
constantValue:
(constantValue != null ? constantValue.value : this.constantValue));
}