DnsResponse constructor

const DnsResponse({
  1. required int id,
  2. required int responseCode,
  3. required List<DnsAnswer> answers,
  4. bool truncated = false,
})

构造 DnsResponse / Creates a DnsResponse.

Implementation

const DnsResponse({
  required this.id,
  required this.responseCode,
  required this.answers,
  this.truncated = false,
});