entitlement method
- String id
Look up one entitlement by id from the local cache — resolves from
disk/memory, not a network round trip. null when the id is unknown
or not currently granted. A stale cache triggers a background
refresh natively; never call refreshEntitlements from an onChange
listener reacting to that refresh's own event, or it loops.
Implementation
Future<Entitlement?> entitlement(String id) => _platform.entitlement(id);