RouterNatRule.fromJson constructor

RouterNatRule.fromJson(
  1. Map json_
)

Implementation

RouterNatRule.fromJson(core.Map json_)
    : this(
        action: json_.containsKey('action')
            ? RouterNatRuleAction.fromJson(
                json_['action'] as core.Map<core.String, core.dynamic>)
            : null,
        description: json_.containsKey('description')
            ? json_['description'] as core.String
            : null,
        match:
            json_.containsKey('match') ? json_['match'] as core.String : null,
        ruleNumber: json_.containsKey('ruleNumber')
            ? json_['ruleNumber'] as core.int
            : null,
      );