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