setUserId static method

void setUserId(
  1. String userId
)

set user id on login and logout

Implementation

static void setUserId(String userId) {
  _methodChannel.invokeMethod("setUserId", {"userId": userId});
}