Schema.object constructor
Schema.object({})
Construct a schema for an object with one or more properties.
Implementation
Schema.object({
required Map<String, Schema> properties,
List<String>? requiredProperties,
String? description,
bool? nullable,
}) : this(
SchemaType.object,
properties: properties,
requiredProperties: requiredProperties,
description: description,
nullable: nullable,
);