FileAtKeysIo constructor

FileAtKeysIo({
  1. String filePath(
    1. String
    )?,
  2. String? passPhrase,
})

Keys kept in the keyfile filePath names for each atSign, by default the one under the home directory; where there is no home directory, every read and write of the default throws AtException saying so.

Implementation

FileAtKeysIo({this.filePath, this.passPhrase}) {
  filePath ??=
      (atsign) => defaultAtKeysFilePathUnder(getHomeDirectory(), atsign);
}