removeClaim method

Credential<C> removeClaim(
  1. C claim
)

Removes a claim from the credential and returns the updated credential.

Implementation

Credential<C> removeClaim(C claim) {
  if (claims == null) return this;
  claims?.remove(claim);
  return this;
}