removeUser method
Remove user from session.
userId
the identify of the user
Return If the function succeeds, the return value is true. Otherwise, this function returns false.
Implementation
@override
Future<bool> removeUser(String userId) async {
var params = <String, dynamic>{};
params.putIfAbsent("userId", () => userId);
return await methodChannel
.invokeMethod<bool>('removeUser', params)
.then<bool>((bool? value) => value ?? false);
}