PasswordResetResponse.fromResponse constructor

PasswordResetResponse.fromResponse(
  1. Response response
)

Implementation

PasswordResetResponse.fromResponse(Response response)
    : super.fromResponse(response) {
  if (response.statusCode! >= 400) {
    validationError = response.data["non_field_errors"][0];
  }
}