BooleanSchema constructor

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

Implementation

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