JsonSchemaType enum

An instance has one of six primitive types, and a range of possible values depending on the type:

Inheritance

Constructors

JsonSchemaType()
const

Values

multiple → const JsonSchemaType

multiple: A "true" or "false" value, from the JSON "true" or "false" value

checkbox → const JsonSchemaType

checkbox: An ordered list of instances, from the JSON "array" value

dropdown: An unordered set of properties mapping a string to an instance, from the JSON "object" value

number → const JsonSchemaType

number: An arbitrary-precision, base-10 decimal number value, from the JSON "number" value

datetime → const JsonSchemaType

dateTime: A string of datetime

time → const JsonSchemaType

time: A string of time

date → const JsonSchemaType

date: A string of date

file → const JsonSchemaType

file: A string of file

text → const JsonSchemaType

string: A string of Unicode code points, from the JSON "string" value

format1 → const JsonSchemaType

Format 1 Only Array of String dynamic value use field raw.

none → const JsonSchemaType

SPECIAL_CASE_NONE: A special case for when the type is not defined.

Properties

hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

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

Constants

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