PacketMirroringsScopedList.fromJson constructor

PacketMirroringsScopedList.fromJson(
  1. Map json_
)

Implementation

PacketMirroringsScopedList.fromJson(core.Map json_)
    : this(
        packetMirrorings: json_.containsKey('packetMirrorings')
            ? (json_['packetMirrorings'] as core.List)
                .map((value) => PacketMirroring.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
        warning: json_.containsKey('warning')
            ? PacketMirroringsScopedListWarning.fromJson(
                json_['warning'] as core.Map<core.String, core.dynamic>)
            : null,
      );