setUserId static method

Future<LinkFiveActiveProducts> setUserId(
  1. String? userId
)

Set your own user ID

This will also link all subscriptions to the current user if exist

You can also filter this value in your subscription Playout

Implementation

static Future<LinkFiveActiveProducts> setUserId(String? userId) {
  return LinkFivePurchasesImpl().setUserId(userId);
}