APIEncoding class Null safety
A single encoding definition applied to a single schema property.
Constructors
-
APIEncoding({String? contentType, Map<
String, APIHeader?> ? headers, String? style, bool? allowReserved = false, bool? explode = false}) - 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-onlyinherited
- 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 / writeinherited
- hashCode → int
-
The hash code for this object.
read-onlyinherited
-
headers
↔ Map<
String, APIHeader?> ? -
A map allowing additional information to be provided as headers, for example Content-Disposition.
read / write
- referenceURI ↔ Uri?
-
read / writeinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
read-onlyinherited
- 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