JsonSchemaDialect enum

JSON Schema dialects this validator implements.

Inheritance
Available extensions

Values

draft4 → const JsonSchemaDialect
const JsonSchemaDialect('http://json-schema.org/draft-04/schema')
draft6 → const JsonSchemaDialect
const JsonSchemaDialect('http://json-schema.org/draft-06/schema')
draft7 → const JsonSchemaDialect
const JsonSchemaDialect('http://json-schema.org/draft-07/schema')
draft2019 → const JsonSchemaDialect
const JsonSchemaDialect('https://json-schema.org/draft/2019-09/schema')
draft2020 → const JsonSchemaDialect
const JsonSchemaDialect('https://json-schema.org/draft/2020-12/schema')

Properties

atLeast2019 → bool
no setter
hashCode → int
The hash code for this object.
no setterinherited
index → int
A numeric identifier for the enumerated value.
no setterinherited
name → String

Available on Enum, provided by the EnumName extension

The name of the enum value.
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
uri → String
The meta-schema URI, without the empty fragment.
final

Methods

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

Operators

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

Static Methods

of(String schemaUri) → JsonSchemaDialect?
The dialect a $schema value names, or null for an unknown one.

Constants

values → const List<JsonSchemaDialect>
A constant List of the values in this enum, in order of their declaration.