Represents a schema object in the OpenAPI specification.
Constants
- FormatBase64 → String
-
"byte"
- FormatBinary → String
-
"binary"
- FormatDate → String
-
"date"
- FormatDateTime → String
-
"date-time"
- FormatDouble → String
-
"double"
- FormatEmail → String
-
"email"
- FormatInt32 → String
-
"int32"
- FormatInt64 → String
-
"int64"
- FormatPassword → String
-
"password"
- TypeArray → String
-
"array"
- TypeBoolean → String
-
"boolean"
- TypeInteger → String
-
"integer"
- TypeNumber → String
-
"number"
- TypeObject → String
-
"object"
- TypeString → String
-
"string"
Static Methods
-
formatFromTypeMirror(
TypeMirror m) → String -
typeFromTypeMirror(
TypeMirror m) → String
Constructors
- APISchemaObject({Map<String, APISchemaObject> properties, Map<String, APISchemaObject> additionalProperties })
- APISchemaObject.fromTypeMirror(TypeMirror m)
- APISchemaObject.int()
- APISchemaObject.string()
Properties
- additionalProperties → Map<String, APISchemaObject>
-
read / write
- deprecated → bool
-
read / write
- description → String
-
read / write
- example → String
-
read / write
- format → String
-
read / write
- items → APISchemaObject
-
read / write
- properties → Map<String, APISchemaObject>
-
read / write
- readOnly → bool
-
read / write
- required → bool
-
read / write
- title → String
-
read / write
- type → String
-
read / write
- hashCode → int
-
The hash code for this object.
read-only, inherited - runtimeType → Type
-
A representation of the runtime type of the object.
read-only, inherited
Operators
-
operator ==(
other) → bool -
The equality operator.
inherited
Methods
-
asMap(
) → Map<String, dynamic> -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed.
inherited -
toString(
) → String -
Returns a string representation of this object.
inherited