APIEncoding class

A single encoding definition applied to a single schema property.

Inheritance

Constructors

APIEncoding({String contentType, Map<String, APIHeader> headers, String style, bool allowReserved, bool explode })
APIEncoding.empty()

Properties

allowReserved ↔ bool
Determines whether the parameter value SHOULD allow reserved characters, as defined by RFC3986 :/?#[]@!$&'()*+,;= to be included without percent-encoding. [...]
read / write
contentType ↔ String
The Content-Type for encoding a specific property. [...]
read / write
explode ↔ bool
When this is true, property values of type array or object generate separate parameters for each value of the array, or key-value-pair of the map. [...]
read / write
headers ↔ Map<String, APIHeader>
A map allowing additional information to be provided as headers, for example Content-Disposition. [...]
read / write
style ↔ String
Describes how a specific property value will be serialized depending on its type. [...]
read / write
castMap → Map<String, Cast>
read-only, inherited
extensions ↔ Map<String, dynamic>
read / write, inherited
hashCode → int
The hash code for this object.
read-only, inherited
referenceURI ↔ Uri
read / write, inherited
runtimeType → Type
A representation of the runtime type of the object.
read-only, inherited

Methods

decode(KeyedArchive object) → void
override
encode(KeyedArchive object) → void
override
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

Operators

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