userCache property

UserCache? userCache
final

Optional user-provided cache for resolved User objects. Ideally, you would not provide this and rely on the default internal LRU cache. However, you can supply your own instance if you need direct control to clear the cache for a specific user (e.g., when an avatar URL changes and requires a refresh).

Implementation

final UserCache? userCache;