read method

  1. @override
Future<AtKeys> read(
  1. String atsign
)
override

Implementation

@override
Future<AtKeys> read(String atsign) async {
  final file = File(filePath!(atsign));
  _refuseAbsent(file);
  final json = await _readAtRestDocument(file);
  final plaintextJson = await _selfDecryptLegacyFields(json);
  return AtKeys.fromJson(plaintextJson);
}