DNSLookupOptions constructor

DNSLookupOptions({
  1. required String hostname,
  2. List<DNSLookupOptionsRecordTypesEnum> recordTypes = const [],
  3. required bool omitFinalDNSDot,
})

Returns a new DNSLookupOptions instance.

Implementation

DNSLookupOptions({
  required this.hostname,
  this.recordTypes = const [],
  required this.omitFinalDNSDot,
});