DnsQuestion.fromJson constructor

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

Implementation

factory DnsQuestion.fromJson(Map<String, dynamic> json) => DnsQuestion(
      name: json["name"],
      type: json["type"],
    );