APIEncoding constructor Null safety

APIEncoding(
  1. {String? contentType,
  2. Map<String, APIHeader>? headers,
  3. String? style,
  4. bool? allowReserved,
  5. bool? explode}
)

Implementation

APIEncoding(
    {this.contentType,
    this.headers,
    this.style,
    bool? allowReserved,
    bool? explode}) {
  this.allowReserved = allowReserved!;
  this.explode = explode!;
}