RestApiClientOptions constructor

RestApiClientOptions({
  1. String baseUrl = '',
  2. bool keepRetryingOnNetworkError = true,
  3. bool overrideBadCertificate = true,
  4. String refreshTokenEndpoint = '',
  5. String refreshTokenParameterName = '',
  6. String resolveJwt(
    1. dynamic response
    )?,
  7. String resolveRefreshToken(
    1. dynamic response
    )?,
  8. Map<String, List<String>> resolveValidationErrorsMap(
    1. dynamic response
    )?,
})

Implementation

RestApiClientOptions({
  this.baseUrl = '',
  this.keepRetryingOnNetworkError = true,
  this.overrideBadCertificate = true,
  this.refreshTokenEndpoint = '',
  this.refreshTokenParameterName = '',
  this.resolveJwt,
  this.resolveRefreshToken,
  this.resolveValidationErrorsMap,
});