BooleanSchema constructor

BooleanSchema({
  1. String? title,
  2. String? description,
  3. bool? defaultValue,
})

Implementation

factory BooleanSchema({
  String? title,
  String? description,
  bool? defaultValue,
}) => BooleanSchema.fromMap({
  Keys.type: JsonType.bool.typeName,
  if (title != null) Keys.title: title,
  if (description != null) Keys.description: description,
  if (defaultValue != null) Keys.default_: defaultValue,
});