Schema.boolean constructor

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

Construct a schema for bool value.

Implementation

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