clearTrustTokens method

Future<bool> clearTrustTokens(
  1. String issuerOrigin
)

Removes all Trust Tokens issued by the provided issuerOrigin. Leaves other stored data, including the issuer's Redemption Records, intact. Returns: True if any tokens were deleted, false otherwise.

Implementation

Future<bool> clearTrustTokens(String issuerOrigin) async {
  var result = await _client.send('Storage.clearTrustTokens', {
    'issuerOrigin': issuerOrigin,
  });
  return result['didDeleteTokens'] as bool;
}