setUserId method
Set User indentifier. This could be Facebook ID, username or email, or any other user ID. This allows data and events to be matched across multiple user devices.
Implementation
void setUserId(String userId){
_channel.invokeMethod("setUserId", {"userId" : userId});
}