IpRule.fromJson constructor

IpRule.fromJson(
  1. Map json_
)

Implementation

IpRule.fromJson(core.Map json_)
  : this(
      portRanges: (json_['portRanges'] as core.List?)
          ?.map(
            (value) => PortRange.fromJson(
              value as core.Map<core.String, core.dynamic>,
            ),
          )
          .toList(),
      protocol: json_['protocol'] as core.String?,
    );