DNSLookupResult constructor

DNSLookupResult({
  1. required DNSLookupResultRecordTypeEnum recordType,
  2. required int ttl,
  3. List<String> recordEntries = const [],
  4. required String name,
})

Returns a new DNSLookupResult instance.

Implementation

DNSLookupResult({
  required this.recordType,
  required this.ttl,
  this.recordEntries = const [],
  required this.name,
});