Options constructor Null safety

Options(
  1. {String? method,
  2. int? sendTimeout,
  3. int? receiveTimeout,
  4. Map<String, dynamic>? extra,
  5. Map<String, dynamic>? headers,
  6. ResponseType? responseType,
  7. String? contentType,
  8. ValidateStatus? validateStatus,
  9. bool? receiveDataWhenStatusError,
  10. bool? followRedirects,
  11. int? maxRedirects,
  12. RequestEncoder? requestEncoder,
  13. ResponseDecoder? responseDecoder,
  14. ListFormat? listFormat}
)

Implementation

Options({
  this.method,
  this.sendTimeout,
  this.receiveTimeout,
  this.extra,
  this.headers,
  this.responseType,
  this.contentType,
  this.validateStatus,
  this.receiveDataWhenStatusError,
  this.followRedirects,
  this.maxRedirects,
  this.requestEncoder,
  this.responseDecoder,
  this.listFormat,
});