requestPasswordReset method
Sends a password reset email to the users email address
Implementation
Future<ParseResponse> requestPasswordReset() async {
try {
final ParseNetworkResponse response = await _client.post(
'${ParseCoreData().serverUrl}$keyEndPointRequestPasswordReset',
data: json.encode(<String, dynamic>{keyVarEmail: emailAddress}),
);
return await _handleResponse(this, response,
ParseApiRQ.requestPasswordReset, _debug, parseClassName);
} on Exception catch (e) {
return handleException(
e, ParseApiRQ.requestPasswordReset, _debug, parseClassName);
}
}