SchemaMap constructor

const SchemaMap({
  1. Xml? xml,
  2. String? title,
  3. String? description,
  4. @JsonKey(name: 'default') Map? defaultValue,
  5. bool? nullable,
  6. Map? example,
  7. @JsonKey(name: 'additionalProperties', toJson: _toMapProps, fromJson: _fromMapProps) Schema? valueSchema,
  8. @JsonKey(name: '\$ref') @_SchemaRefConverter() String? ref,
})

Implementation

const factory SchemaMap(
        {final Xml? xml,
        final String? title,
        final String? description,
        @JsonKey(name: 'default') final Map<dynamic, dynamic>? defaultValue,
        final bool? nullable,
        final Map<dynamic, dynamic>? example,
        @JsonKey(
            name: 'additionalProperties',
            toJson: _toMapProps,
            fromJson: _fromMapProps)
        final Schema? valueSchema,
        @JsonKey(name: '\$ref') @_SchemaRefConverter() final String? ref}) =
    _$SchemaMapImpl;