identifyUser static method

Future<void> identifyUser(
  1. String email, [
  2. String? name,
  3. String? id
])

Sets the default value of the user's email and hides the email field from the reporting UI and set the user's name and id to be included with all reports. It also reset the chats on device to that email and removes user attributes, user data and completed surveys.

Implementation

static Future<void> identifyUser(
  String email, [
  String? name,
  String? id,
]) async {
  return _host.identifyUser(email, name, id);
}