setUserId method

Future<void> setUserId(
  1. String adUnitId,
  2. String userId
)

设置用户ID

Implementation

Future<void> setUserId(String adUnitId, String userId) async {
  TradplusSdk.channel.invokeMethod(
      'offerwall_setUserId', {'adUnitID': adUnitId, 'userId': userId});
}