boolean static method
Create a boolean property schema
Implementation
static Map<String, dynamic> boolean({
String? description,
bool required = false,
bool? defaultValue,
}) {
final schema = <String, dynamic>{
'type': 'boolean',
if (description != null) 'description': description,
if (defaultValue != null) 'default': defaultValue,
};
return schema;
}