forgetMe method

Future<bool?> forgetMe(
  1. String emailAddress
)

Forget the current email address. This will not stop the session, the existing session will be maintained. A subsequent call to get_email_address will fetch a new email address or the client can call set_email_user to set a new address. Typically, a user would want to set a new address manually after clicking the ‘forget me’ button.

Implementation

Future<bool?> forgetMe(String emailAddress) async {
  final response = await _doRequest(
    call: 'forget_me',
    queryParameters: {
      'email_id': emailAddress.toString(),
    },
  );
  return jsonDecode(response.body) as bool?;
}