Schema.boolean constructor

const Schema.boolean({
  1. Xml? xml,
  2. String? title,
  3. String? description,
  4. @JsonKey(name: 'default') bool? defaultValue,
  5. bool? nullable,
  6. bool? example,
  7. @JsonKey(name: '\$ref') @_SchemaRefConverter() String? ref,
})

Implementation

const factory Schema.boolean({
  Xml? xml,
  String? title,
  String? description,
  @JsonKey(name: 'default') bool? defaultValue,
  bool? nullable,
  bool? example,
  @JsonKey(name: '\$ref') @_SchemaRefConverter() String? ref,
}) = SchemaBoolean;