quicktype-core 23.0.88 → 23.0.89

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -540,6 +540,10 @@ class DartRenderer extends ConvenienceRenderer_1.ConvenienceRenderer {
540
540
  this.emitLine("const factory ", className, "({");
541
541
  this.indent(() => {
542
542
  this.forEachClassProperty(c, "none", (name, jsonName, prop) => {
543
+ const description = this.descriptionForClassProperty(c, jsonName);
544
+ if (description !== undefined) {
545
+ this.emitDescription(description);
546
+ }
543
547
  const required = this._options.requiredProperties ||
544
548
  (this._options.nullSafety && (!prop.type.isNullable || !prop.isOptional));
545
549
  if (this._options.useJsonAnnotation) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "quicktype-core",
3
- "version": "23.0.88",
3
+ "version": "23.0.89",
4
4
  "description": "The quicktype engine as a library",
5
5
  "license": "Apache-2.0",
6
6
  "main": "dist/index.js",