PacketMirroringMirroredResourceInfo.fromJson constructor

PacketMirroringMirroredResourceInfo.fromJson(
  1. Map json_
)

Implementation

PacketMirroringMirroredResourceInfo.fromJson(core.Map json_)
    : this(
        instances: json_.containsKey('instances')
            ? (json_['instances'] as core.List)
                .map((value) =>
                    PacketMirroringMirroredResourceInfoInstanceInfo.fromJson(
                        value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
        subnetworks: json_.containsKey('subnetworks')
            ? (json_['subnetworks'] as core.List)
                .map((value) =>
                    PacketMirroringMirroredResourceInfoSubnetInfo.fromJson(
                        value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
        tags: json_.containsKey('tags')
            ? (json_['tags'] as core.List)
                .map((value) => value as core.String)
                .toList()
            : null,
      );