setUser method
Sets the user for this session.
This user context is used for any other functions you call.
Implementation
@override
Future<void> setUser(String userId, Map<String, dynamic> attributes) async {
await methodChannel.invokeMethod('setUser', <String, dynamic>{
'user_id': userId,
'attributes': attributes,
});
}