identify static method

  1. @Deprecated("Use instance.identify instead")
void identify(
  1. String userId, {
  2. RudderTraits? traits,
  3. RudderOption? options,
})

Identifies a user with the given userId and optional traits.

userId is the unique identifier for the user. traits contains additional information about the user. options allows you to specify additional options for this call.

This method associates the user with their actions and properties.

Implementation

@Deprecated("Use instance.identify instead")
static void identify(String userId,
    {RudderTraits? traits, RudderOption? options}) {
  instance.identify(userId, traits: traits, options: options);
}