identify method

  1. @override
Future<void> identify(
  1. String userId
)
override

Associates purchases with your own user id, so entitlements follow the account rather than the device.

Call after sign-in. Before that, purchases attach to an anonymous id the vendor manages.

Implementation

@override
Future<void> identify(String userId) async => identifiedUserId = userId;