NetworkResponse constructor

NetworkResponse({
  1. required bool responseStatus,
  2. required int responseCode,
  3. String? responseTitle,
  4. dynamic responseBody,
  5. bool isCancelable = true,
  6. bool callDefaults = true,
  7. bool handleErrors = true,
  8. bool handleSuccess = true,
  9. dynamic retryFunction(
    1. bool force,
    2. NetworkResponse res
    )?,
  10. dynamic responseDetails,
  11. String? extractedMessage,
})

Implementation

NetworkResponse(
    {required this.responseStatus,
    required this.responseCode,
    this.responseTitle,
    this.responseBody,
    this.isCancelable = true,
    this.callDefaults = true,
    this.handleErrors = true,
    this.handleSuccess = true,
    this.retryFunction,
    this.responseDetails,
    this.extractedMessage});