Schema.map constructor
const
Schema.map({})
A generic Schema of map type
Implementation
const factory Schema.map({
Xml? xml,
String? title,
String? description,
@JsonKey(name: 'default') Map? defaultValue,
bool? nullable,
Map? example,
@JsonKey(
name: 'additionalProperties',
toJson: _toMapProps,
fromJson: _fromMapProps)
Schema? valueSchema,
@JsonKey(name: '\$ref') @_SchemaRefConverter() String? ref,
}) = SchemaMap;