storeUserCrossSigningKey method

  1. @override
Future<void> storeUserCrossSigningKey(
  1. String userId,
  2. String publicKey,
  3. String content,
  4. bool verified,
  5. bool blocked,
)
override

Implementation

@override
Future<void> storeUserCrossSigningKey(String userId, String publicKey,
    String content, bool verified, bool blocked) async {
  await _userCrossSigningKeysBox.put(
    TupleKey(userId, publicKey).toString(),
    {
      'user_id': userId,
      'public_key': publicKey,
      'content': content,
      'verified': verified,
      'blocked': blocked,
    },
  );
}