JsonSchema class

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.
getter/setter pair
const_ ↔ dynamic
6.1.3. const
getter/setter pair
description String?
A long description of the element. Used in hover menus and suggestions.
getter/setter pair
enum_ List?
6.1.2. enum
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
properties Map<String, JsonSchema>
According to the JSON Schema specification:
getter/setter pair
readOnly bool
9.4. "readOnly" and "writeOnly"
getter/setter pair
required List<String>
6.5.3. required
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
title String?
A descriptive title of the element.
getter/setter pair
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.
getter/setter pair
userInterface Map<String, dynamic>
getter/setter pair
writeOnly bool
9.4. "readOnly" and "writeOnly"
getter/setter pair

Methods

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

Operators

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