setEmailUser method

Future<SetEmailUserResponse> setEmailUser(
  1. String emailUser
)

Set the email address to a different email address. If the email has already been set, it will be given additional 60 minutes. Otherwise, a new email address will be generated if the email address is not in the database.

Implementation

Future<SetEmailUserResponse> setEmailUser(String emailUser) async {
  final response = await _doRequest(
      call: 'set_email_user', queryParameters: {'email_user': emailUser});
  return SetEmailUserResponse.fromJson(jsonDecode(response.body));
}