FirewallAllowed.fromJson constructor

FirewallAllowed.fromJson(
  1. Map json_
)

Implementation

FirewallAllowed.fromJson(core.Map json_)
    : this(
        IPProtocol: json_.containsKey('IPProtocol')
            ? json_['IPProtocol'] as core.String
            : null,
        ports: json_.containsKey('ports')
            ? (json_['ports'] as core.List)
                .map((value) => value as core.String)
                .toList()
            : null,
      );