copyWith method

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

Implementation

ObjectJsonSchemaPropertyOutput copyWith(
    {String? type,
    List<String>? required,
    String? description,
    Map<String, dynamic>? properties}) {
  return ObjectJsonSchemaPropertyOutput(
      type: type ?? this.type,
      required: required ?? this.required,
      description: description ?? this.description,
      properties: properties ?? this.properties);
}