DomainNameRecord constructor

DomainNameRecord({
  1. required DomainNameRecordLabelEnum label,
  2. required bool required_,
  3. required DomainNameRecordRecordTypeEnum recordType,
  4. required String name,
  5. List<String> recordEntries = const [],
  6. required int ttl,
})

Returns a new DomainNameRecord instance.

Implementation

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