getPermissionEntitlement method
Returns the Entitlement for the given permission key.
Evaluated on-device from the state populated by the last successful
loadEntitlements call — call loadEntitlements first (returns
isEntitled: false, justification: "ENTITLEMENTS_NOT_LOADED" otherwise).
Implementation
Future<Entitlement> getPermissionEntitlement(String permissionKey) =>
_runAction(
() => FronteggPlatform.instance.getPermissionEntitlement(permissionKey),
);