putAnonymousId method

void putAnonymousId(
  1. String anonymousId
)

Sets a custom anonymous identifier for the user.

Use this to set a custom anonymous ID instead of using the automatically generated one.

anonymousId - The custom anonymous identifier.

Implementation

void putAnonymousId(String anonymousId) {
  throw UnimplementedError(
      'putAnonymousId(String anonymousId) has not been implemented.');
}