ApiPacket.fromJson constructor

ApiPacket.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory ApiPacket.fromJson(Map<String, dynamic> json) => ApiPacket(
      packet: json["Packet"],
      packetList: List<PacketList>.from(
          json["PacketList"].map((x) => PacketList.fromJson(x))),
    );