BooleanSchema constructor

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

Implementation

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