FirewallRule.fromJson constructor

FirewallRule.fromJson(
  1. Map json_
)

Implementation

FirewallRule.fromJson(core.Map json_)
    : this(
        action: json_.containsKey('action')
            ? json_['action'] as core.String
            : null,
        description: json_.containsKey('description')
            ? json_['description'] as core.String
            : null,
        priority: json_.containsKey('priority')
            ? json_['priority'] as core.int
            : null,
        sourceRange: json_.containsKey('sourceRange')
            ? json_['sourceRange'] as core.String
            : null,
      );