TrafficPortSelector.fromJson constructor

TrafficPortSelector.fromJson(
  1. Map json_
)

Implementation

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