setUser method

Future<Result<void>> setUser(
  1. String userId, {
  2. Map<String, String> userMap = const {},
})

Implementation

Future<Result<void>> setUser(
  String userId, {
  Map<String, String> userMap = const {},
}) async {
  return _resultGuard(
    await _invokeMethod('setUser', argument: {
      'userId': userId,
      ...userMap,
    }),
  );
}