getTrustTokens method

Future<List<TrustTokens>> getTrustTokens()

Returns the number of stored Trust Tokens per issuer for the current browsing context.

Implementation

Future<List<TrustTokens>> getTrustTokens() async {
  var result = await _client.send('Storage.getTrustTokens');
  return (result['tokens'] as List)
      .map((e) => TrustTokens.fromJson(e as Map<String, dynamic>))
      .toList();
}