Schema.enumeration constructor
const
Schema.enumeration({})
Implementation
const factory Schema.enumeration({
String? title,
String? description,
String? example,
@JsonKey(name: 'default') String? defaultValue,
bool? nullable,
@JsonKey(includeToJson: false, includeFromJson: false) String? unknownValue,
@JsonKey(name: 'enum') List<String>? values,
@JsonKey(name: '\$ref') @_SchemaRefConverter() String? ref,
}) = SchemaEnum;