setUserId method
Implementation
@override
Future<void> setUserId(String? userId) async {
try {
final Map<String, Object?> arguments = {
Argument.userId.value: userId,
};
return methodChannel.invokeMethod(Method.setUserId.value, arguments);
} catch (e) {
log("Failed to setUserId", level: 3, error: e);
}
}