NetworkPolicyIngressRule constructor

const NetworkPolicyIngressRule({
  1. List<NetworkPolicyPeer>? from,
  2. List<NetworkPolicyPort>? ports,
})

Default constructor.

Implementation

const NetworkPolicyIngressRule({
  this.from,
  this.ports,
});