IPAddressResourceRecord class

An IP Address record for IPv4 (DNS "A") or IPv6 (DNS "AAAA") records.

Inheritance

Constructors

IPAddressResourceRecord(String name, int validUntil, {required InternetAddress address})
Creates a new IPAddressResourceRecord.

Properties

address InternetAddress
The InternetAddress for this record.
final
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
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