APIEncoding class Null safety

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
castMap Map<String, Cast>
read-only, inherited
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
extensions Map<String, dynamic>
read / write, inherited
hashCode int
The hash code for this object. [...]
read-only, inherited
headers Map<String, APIHeader>?
A map allowing additional information to be provided as headers, for example Content-Disposition. [...]
read / write
referenceURI Uri
read / write, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
style String?
Describes how a specific property value will be serialized depending on its type. [...]
read / write

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
A string representation of this object. [...]
inherited

Operators

operator ==(Object other) bool
The equality operator. [...]
inherited