DoHAnswer class
DoHAnswer
Constructors
- DoHAnswer.new({String name = "", int ttl = 0, int type = 0, String data = "", Uri? provider})
- const
-
DoHAnswer.fromJson(Map<
String, dynamic> json) - read from json
Properties
- data ↔ String
-
data
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- name ↔ String
-
domain name
getter/setter pair
- provider ↔ Uri?
-
provider show who provided the resolve
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- ttl ↔ int
-
ttl
getter/setter pair
- type ↔ int
-
doh type
getter/setter pair
- validUntil ↔ int
-
validUntil is used for cache
getter/setter pair
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> - covert to json
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited