copyWith method
Implementation
JsonSchemaOptions copyWith({
bool? startObject,
bool? endObject,
bool? nullable,
bool? useRefsForNestedTypes,
Map<SchemaType<Object?>, String>? externalTypes,
}) {
return JsonSchemaOptions(
startObject: startObject ?? this.startObject,
endObject: endObject ?? this.endObject,
nullable: nullable ?? this.nullable,
useRefsForNestedTypes:
useRefsForNestedTypes ?? this.useRefsForNestedTypes,
externalTypes: externalTypes ?? this.externalTypes,
);
}