copyWithWrapped method

ObjectJsonSchemaPropertyInput copyWithWrapped({
  1. Wrapped<String?>? type,
  2. Wrapped<List<String>?>? required,
  3. Wrapped<String?>? description,
  4. Wrapped<Map<String, dynamic>?>? properties,
})

Implementation

ObjectJsonSchemaPropertyInput copyWithWrapped(
    {Wrapped<String?>? type,
    Wrapped<List<String>?>? required,
    Wrapped<String?>? description,
    Wrapped<Map<String, dynamic>?>? properties}) {
  return ObjectJsonSchemaPropertyInput(
      type: (type != null ? type.value : this.type),
      required: (required != null ? required.value : this.required),
      description:
          (description != null ? description.value : this.description),
      properties: (properties != null ? properties.value : this.properties));
}