loginIdentifiedUser method

Future<void> loginIdentifiedUser({
  1. String? userId,
  2. String? email,
  3. IntercomStatusCallback? statusCallback,
})

Function to create a identified user in Intercom. You need to register your users before you can talk to them and track their activity in your app.

You can register a identified user either with userId or with email, but not with both.

Implementation

Future<void> loginIdentifiedUser(
    {String? userId, String? email, IntercomStatusCallback? statusCallback}) {
  return IntercomFlutterPlatform.instance.loginIdentifiedUser(
      userId: userId, email: email, statusCallback: statusCallback);
}