InlineSchemaOptions.fromMap constructor
Produces an InlineSchemaOptions that is easily consumable from the ConstantReader
.
Implementation
InlineSchemaOptions.fromMap(Map<String, dynamic> map)
: this(
arrayItemSuffix: map['arrayItemSuffix'],
mapItemSuffix: map['mapItemSuffix'],
skipSchemaReuse: map['skipSchemaReuse'] ?? true,
refactorAllofInlineSchemas: map['refactorAllofInlineSchemas'] ?? true,
resolveInlineEnums: map['resolveInlineEnums'] ?? true,
);