ResourceRecord class abstract
Base implementation of DNS resource records (RRs).
- Implementers
- Annotations
-
- @immutable
Constructors
- ResourceRecord(int resourceRecordType, String name, int validUntil)
-
Creates a new ResourceRecord.
const
Properties
- hashCode → int
-
The hash code for this object.
no setteroverride
- name → String
-
The FQDN for this record.
final
- resourceRecordType → int
-
The raw resource record value. See ResourceRecordType for supported values.
final
- 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.
final
Methods
-
encodeResponseRecord(
) → Uint8List - Low level method for encoding this record into an mDNS packet.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override