APISchemaObject class Null safety
Represents a schema object in the OpenAPI specification.
Constructors
Properties
- additionalProperties ↔ APISchemaObject?
-
Valid when type == object
read / write
-
castMap
→ Map<
String, Cast> -
read-only
- collectionFormat ↔ APICollectionFormat?
-
read / writeinherited
- defaultValue ↔ dynamic
-
read / writeinherited
- description ↔ String?
-
read / write
- enumerated ↔ List?
-
read / writeinherited
- example ↔ String?
-
read / write
- exclusiveMaximum ↔ bool?
-
read / writeinherited
- exclusiveMinimum ↔ bool?
-
read / writeinherited
-
extensions
↔ Map<
String, dynamic> -
read / writeinherited
- format ↔ String?
-
read / writeinherited
- hashCode → int
-
The hash code for this object.
read-onlyinherited
-
isRequired
↔ List<
String?> ? -
read / write
- items ↔ APISchemaObject?
-
Valid when type == array
read / write
- maximum ↔ num?
-
read / writeinherited
- maxItems ↔ int?
-
read / writeinherited
- maxLength ↔ int?
-
read / writeinherited
- minimum ↔ num?
-
read / writeinherited
- minItems ↔ int?
-
read / writeinherited
- minLength ↔ int?
-
read / writeinherited
- multipleOf ↔ num?
-
read / writeinherited
- pattern ↔ String?
-
read / writeinherited
-
properties
↔ Map<
String, APISchemaObject?> ? -
Valid when type == null
read / write
- readOnly ↔ bool
-
read / write
- referenceURI ↔ Uri?
-
read / writeinherited
- representation → APISchemaRepresentation
-
read-only
- runtimeType → Type
-
A representation of the runtime type of the object.
read-onlyinherited
- title ↔ String?
-
read / write
- type ↔ APIType?
-
read / writeinherited
- uniqueItems ↔ bool?
-
read / writeinherited
Methods
-
decode(
KeyedArchive object) → void -
encode(
KeyedArchive object) → void -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited