LogInterceptor constructor Null safety

LogInterceptor(
  1. {bool request = true,
  2. bool requestHeader = true,
  3. bool requestBody = false,
  4. bool responseHeader = true,
  5. bool responseBody = false,
  6. bool error = true,
  7. void logPrint(
    1. Object object
    ) = print}
)

Implementation

LogInterceptor({
  this.request = true,
  this.requestHeader = true,
  this.requestBody = false,
  this.responseHeader = true,
  this.responseBody = false,
  this.error = true,
  this.logPrint = print,
});