user method

User user([
  1. String? userPublicKey
])

Returns a new instance of User from the current instance of Gun.

Implementation

User user([String? userPublicKey]) {
  final user = _gun.user(userPublicKey);
  return User._(user);
}