verificationEmailRequest method

Future<ParseResponse> verificationEmailRequest()

Sends a verification email to the users email address

Implementation

Future<ParseResponse> verificationEmailRequest() async {
  try {
    final ParseNetworkResponse response = await _client.post(
      '${ParseCoreData().serverUrl}$keyEndPointVerificationEmail',
      data: json.encode(<String, dynamic>{keyVarEmail: emailAddress}),
    );
    return await _handleResponse(
      this,
      response,
      ParseApiRQ.verificationEmailRequest,
      _debug,
      parseClassName,
    );
  } on Exception catch (e) {
    return handleException(
      e,
      ParseApiRQ.verificationEmailRequest,
      _debug,
      parseClassName,
    );
  }
}