Schema.boolean constructor
Schema.boolean({})
Creates a Schema for a boolean.
Implementation
factory Schema.boolean({
String? title,
String? description,
List<dynamic>? examples,
bool? readOnly,
bool? writeOnly,
bool? $default,
}) => Schema(
type: 'boolean',
title: title,
description: description,
examples: examples,
readOnly: readOnly,
writeOnly: writeOnly,
$default: $default,
);