getAtKeys abstract method

Future<List<AtKey>> getAtKeys(
  1. {String? regex,
  2. String? sharedBy,
  3. String? sharedWith,
  4. bool showHiddenKeys = false}
)

Get all the keys stored in user's secondary in AtKey format. If regex is specified only matching keys are returned. If sharedBy is specified, then gets the keys from sharedBy user shared with current atClient user. If sharedWith is specified, then gets the keys shared to sharedWith user from the current atClient user.

e.g alice is the current atsign
 scan
  getKeys();
 scan .persona
  getKeys(regex:'.persona');
 scan:@bob
  getKeys(sharedBy:'@bob');

Implementation

Future<List<AtKey>> getAtKeys(
    {String? regex,
    String? sharedBy,
    String? sharedWith,
    bool showHiddenKeys = false});