RouterNatRuleAction.fromJson constructor

RouterNatRuleAction.fromJson(
  1. Map json_
)

Implementation

RouterNatRuleAction.fromJson(core.Map json_)
  : this(
      sourceNatActiveIps:
          (json_['sourceNatActiveIps'] as core.List?)
              ?.map((value) => value as core.String)
              .toList(),
      sourceNatActiveRanges:
          (json_['sourceNatActiveRanges'] as core.List?)
              ?.map((value) => value as core.String)
              .toList(),
      sourceNatDrainIps:
          (json_['sourceNatDrainIps'] as core.List?)
              ?.map((value) => value as core.String)
              .toList(),
      sourceNatDrainRanges:
          (json_['sourceNatDrainRanges'] as core.List?)
              ?.map((value) => value as core.String)
              .toList(),
    );