DNSRecord.fromJson constructor

DNSRecord.fromJson(
  1. dynamic json
)

Creates Record From JSON

Implementation

factory DNSRecord.fromJson(dynamic json) => DNSRecord(
      ttl: json["ttl"],
      type: json["type"],
      host: json["host"],
      value: json["value"],
    );