PacketMirroringsScopedList.fromJson constructor

PacketMirroringsScopedList.fromJson(
  1. Map _json
)

Implementation

PacketMirroringsScopedList.fromJson(core.Map _json) {
  if (_json.containsKey("packetMirrorings")) {
    packetMirrorings = (_json["packetMirrorings"] as core.List)
        .map<PacketMirroring>((value) => new PacketMirroring.fromJson(value))
        .toList();
  }
  if (_json.containsKey("warning")) {
    warning =
        new PacketMirroringsScopedListWarning.fromJson(_json["warning"]);
  }
}