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

Methods

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