Schema constructor

Schema({
  1. Map<String, SchemaProperty>? properties = const {},
  2. List<String>? required_ = const [],
})

Returns a new Schema instance.

Implementation

Schema({
  this.properties = const {},
  this.required_ = const [],
});