DoHResponse class

DoHResponse

Constructors

DoHResponse.new({int status = 0, bool tc = false, bool rd = true, bool ra = true, bool ad = false, bool cd = false, required DoHQuestion question, required List<DoHAnswer> answers})
init
DoHResponse.fromJson(Map<String, dynamic> json)
read from json

Properties

ad?
getter/setter pair
answers List<DoHAnswer>
the answers ths server replys
getter/setter pair
cd bool
cd?
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
question DoHQuestion
the question the server understood
getter/setter pair
ra bool
ta?
getter/setter pair
rd bool
rd?
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
status int
response status
getter/setter pair
tc bool
tc?
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