forgotPassword method
Implementation
@override
Future<DataResult<bool>> forgotPassword({required NUIAuthForgotPasswordReq request}) async{
final resp = await _getWeb().doPOST(
url: "user/forgot-password",
bodyEnt: request,
entity: NUIAuthStandardRespEnt(NUIEntType.MAP, (value) => asMap(value))
);
return _dataResultFactory.defineDataResult<bool>(resp, successDataIfNull: true, failureData: false);
// _processResponseMessage(result);
// return result.body ?? NUIStandardHttpResponse(success: false, message: "NUIAuthApi => forgotPassword Failed");
}