JsonSchema class Null safety

A JsonSchemaDocument.

Constructors

JsonSchema.fromMap(Map<String, dynamic> map)
Given a Map in conformance with the JSON Schema Spec of a JSON Schema Document,
this constructor will parse it and return a JsonSchema instance.

Properties

annotations Map<String, dynamic>
Useful metadata about the schema's context.
read / write
const_ ↔ dynamic
6.1.3. const
read / write
description String?
A long description of the element. Used in hover menus and suggestions.
read / write
enum_ List?
6.1.2. enum
read / write
hashCode int
The hash code for this object.
read-onlyinherited
properties Map<String, JsonSchema>
According to the JSON Schema specification:
read / write
readOnly bool
9.4. "readOnly" and "writeOnly"
read / write
required List<String>
6.5.3. required
read / write
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited
title String?
A descriptive title of the element.
read / write
type JsonSchemaType
The value of this keyword MUST be either a string or an array. If it is an array, elements of the array MUST be strings and MUST be unique.
read / write
userInterface Map<String, dynamic>
read / write
writeOnly bool
9.4. "readOnly" and "writeOnly"
read / write

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
inherited