origin_policy library Null safety

Origin Policy

https://wicg.github.io/origin-policy/