getCustomClaims method

Map<String, dynamic>? getCustomClaims()

Returns all custom claims from the cached token.

Returns null if no token has been cached yet or if there are no claims.

Implementation

Map<String, dynamic>? getCustomClaims() {
  return _cachedTokenResult?.claims;
}