Schema.boolean constructor

Schema.boolean({
  1. String? description,
  2. String? title,
  3. bool? nullable,
})

Construct a schema for bool value.

Implementation

Schema.boolean({
  String? description,
  String? title,
  bool? nullable,
}) : this(
        SchemaType.boolean,
        description: description,
        title: title,
        nullable: nullable,
      );