IngressPolicy.fromJson constructor

IngressPolicy.fromJson(
  1. Map json_
)

Implementation

IngressPolicy.fromJson(core.Map json_)
    : this(
        ingressFrom: json_.containsKey('ingressFrom')
            ? IngressFrom.fromJson(
                json_['ingressFrom'] as core.Map<core.String, core.dynamic>)
            : null,
        ingressTo: json_.containsKey('ingressTo')
            ? IngressTo.fromJson(
                json_['ingressTo'] as core.Map<core.String, core.dynamic>)
            : null,
      );