DnsAnswer constructor

const DnsAnswer({
  1. required String name,
  2. required int type,
  3. required int ttl,
  4. required String value,
})

构造 DnsAnswer / Creates a DnsAnswer.

Implementation

const DnsAnswer({
  required this.name,
  required this.type,
  required this.ttl,
  required this.value,
});