pair method

  1. @Deprecated('''Use user.auth(...) instead.''')
KeyPair? pair()

Returns the key pair of the user.

Implementation

@Deprecated('''Use user.auth(...) instead.''')
KeyPair? pair() {
  final pair = _user.pair();
  if (getProperty<String?>(pair, 'pub') == null) {
    return null;
  }
  return pair;
}