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