TxtResourceRecord class

A Text record, contianing additional textual data (DNS "TXT").

Inheritance

Constructors

TxtResourceRecord(String name, int validUntil, {required String text})
Creates a new text record.
const

Properties

hashCode int
The hash code for this object.
no setteroverride
name String
The FQDN for this record.
finalinherited
resourceRecordType int
The raw resource record value. See ResourceRecordType for supported values.
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
text String
The raw text from this record.
final
validUntil int
The epoch time at which point this record is valid for in the cache.
finalinherited

Methods

encodeResponseRecord() Uint8List
Low level method for encoding this record into an mDNS packet.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
override