readKeyshares method

  1. @override
Future<List<StorageKeyshare>> readKeyshares(
  1. String keyId
)
override

Returns a list of StorageKeyshare for a given keyId.

Implementation

@override

/// Returns a list of [StorageKeyshare] for a given [keyId].
Future<List<StorageKeyshare>> readKeyshares(String keyId) async {
  final keyshares = storageKeyshares.where((e) => e.keyId == keyId).toList();
  return keyshares;
}